Skip to content

Commit 5f36447

Browse files
author
Netanel Gonen
committed
do not run crypto init SPM test if not SPM target
1 parent f1c5aeb commit 5f36447

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

TESTS/psa/crypto_init/main.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@
1616
* limitations under the License.
1717
*/
1818

19-
#if ((!defined(TARGET_PSA)) || (!defined(MBEDTLS_PSA_CRYPTO_C)))
20-
#error [NOT_SUPPORTED] Mbed Crypto is OFF - skipping.
19+
#if ((!defined(TARGET_PSA)) || (!defined(MBEDTLS_PSA_CRYPTO_C)) || (!defined(MBEDTLS_PSA_CRYPTO_SPM )))
20+
#error [NOT_SUPPORTED] Mbed SPM Crypto is OFF - skipping.
2121
#endif // TARGET_PSA
2222

2323
#include "greentea-client/test_env.h"

0 commit comments

Comments
 (0)