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 22
22
23
23
#include " psa/crypto.h"
24
24
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.
27
27
#else
28
28
29
29
#include " greentea-client/test_env.h"
@@ -160,5 +160,5 @@ int main()
160
160
return !Harness::run (specification);
161
161
}
162
162
163
- #endif // (( !defined(TARGET_PSA)) || (!defined( MBEDTLS_PSA_CRYPTO_C)) )
163
+ #endif // !defined(MBEDTLS_PSA_CRYPTO_C)
164
164
#endif // !defined(MBED_CONF_RTOS_PRESENT)
Original file line number Diff line number Diff line change 18
18
19
19
#include " psa/crypto.h"
20
20
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.
23
23
#else
24
24
25
25
#include " greentea-client/test_env.h"
@@ -87,4 +87,4 @@ int main()
87
87
return !Harness::run (specification);
88
88
}
89
89
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 16
16
* limitations under the License.
17
17
*/
18
18
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 .
21
21
#else
22
22
23
23
#include " greentea-client/test_env.h"
@@ -184,4 +184,4 @@ int main()
184
184
return !Harness::run (specification);
185
185
}
186
186
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 20
20
#error [NOT_SUPPORTED] ITS/PS test cases require RTOS to run.
21
21
#else
22
22
23
- #ifndef TARGET_PSA
24
- #error [NOT_SUPPORTED] ITS/PS tests can run only on PSA-enabled targets.
25
- #else
26
-
27
23
#include " greentea-client/test_env.h"
28
24
#include " unity/unity.h"
29
25
#include " utest/utest.h"
@@ -243,5 +239,4 @@ int main()
243
239
return !Harness::run (specification);
244
240
}
245
241
246
- #endif // TARGET_PSA
247
242
#endif // !defined(MBED_CONF_RTOS_PRESENT)
You can’t perform that action at this time.
0 commit comments