File tree Expand file tree Collapse file tree 4 files changed +9
-14
lines changed
platform/FEATURE_EXPERIMENTAL_API/FEATURE_PSA/TARGET_MBED_PSA_SRV/TESTS Expand file tree Collapse file tree 4 files changed +9
-14
lines changed Original file line number Diff line number Diff line change 2222
2323#include " psa/crypto.h"
2424
25- #if (( !defined(TARGET_PSA)) || (!defined( MBEDTLS_PSA_CRYPTO_C)) )
26- #error [NOT_SUPPORTED] Mbed Crypto is OFF - skipping.
25+ #if !defined(MBEDTLS_PSA_CRYPTO_C)
26+ #error [NOT_SUPPORTED] Mbed TLS PSA Crypto is OFF - skipping.
2727#else
2828
2929#include " greentea-client/test_env.h"
@@ -160,5 +160,5 @@ int main()
160160 return !Harness::run (specification);
161161}
162162
163- #endif // (( !defined(TARGET_PSA)) || (!defined( MBEDTLS_PSA_CRYPTO_C)) )
163+ #endif // !defined(MBEDTLS_PSA_CRYPTO_C)
164164#endif // !defined(MBED_CONF_RTOS_PRESENT)
Original file line number Diff line number Diff line change 1818
1919#include " psa/crypto.h"
2020
21- #if (( !defined(TARGET_PSA)) || (!defined( MBEDTLS_PSA_CRYPTO_C)) )
22- #error [NOT_SUPPORTED] Mbed Crypto is OFF - skipping.
21+ #if !defined(MBEDTLS_PSA_CRYPTO_C)
22+ #error [NOT_SUPPORTED] Mbed TLS PSA Crypto is OFF - skipping.
2323#else
2424
2525#include " greentea-client/test_env.h"
@@ -87,4 +87,4 @@ int main()
8787 return !Harness::run (specification);
8888}
8989
90- #endif // (( !defined(TARGET_PSA)) || (!defined( MBEDTLS_PSA_CRYPTO_C)) )
90+ #endif // !defined(MBEDTLS_PSA_CRYPTO_C)
Original file line number Diff line number Diff line change 1616* limitations under the License.
1717*/
1818
19- #if (( !defined(TARGET_PSA) || (!defined(COMPONENT_PSA_SRV_IPC)) && !defined( MBEDTLS_ENTROPY_NV_SEED)) )
20- #error [NOT_SUPPORTED] PSA entropy injection tests can run only on PSA-enabled targets .
19+ #if !defined(MBEDTLS_ENTROPY_NV_SEED)
20+ #error [NOT_SUPPORTED] PSA entropy injection tests can run only with MBEDTLS_ENTROPY_NV_SEED enabled .
2121#else
2222
2323#include " greentea-client/test_env.h"
@@ -184,4 +184,4 @@ int main()
184184 return !Harness::run (specification);
185185}
186186
187- #endif // (( !defined(TARGET_PSA) || (!defined(COMPONENT_PSA_SRV_IPC)) && !defined( MBEDTLS_ENTROPY_NV_SEED)) )
187+ #endif // !defined(MBEDTLS_ENTROPY_NV_SEED)
Original file line number Diff line number Diff line change 2020#error [NOT_SUPPORTED] ITS/PS test cases require RTOS to run.
2121#else
2222
23- #ifndef TARGET_PSA
24- #error [NOT_SUPPORTED] ITS/PS tests can run only on PSA-enabled targets.
25- #else
26-
2723#include " greentea-client/test_env.h"
2824#include " unity/unity.h"
2925#include " utest/utest.h"
@@ -243,5 +239,4 @@ int main()
243239 return !Harness::run (specification);
244240}
245241
246- #endif // TARGET_PSA
247242#endif // !defined(MBED_CONF_RTOS_PRESENT)
You can’t perform that action at this time.
0 commit comments