File tree Expand file tree Collapse file tree 12 files changed +28
-23
lines changed
components/TARGET_PSA/TESTS
compliance_attestation/test_a001 Expand file tree Collapse file tree 12 files changed +28
-23
lines changed Original file line number Diff line number Diff line change 17
17
*/
18
18
19
19
#if !defined(MBED_CONF_RTOS_PRESENT)
20
- #error [NOT_SUPPORTED] PSA attestation test case requires RTOS to run.
20
+ #error [NOT_SUPPORTED] PSA attestation test cases require RTOS to run.
21
21
#else
22
22
23
23
#include " psa/crypto.h"
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(MBED_CONF_RTOS_PRESENT)
20
- #error [NOT_SUPPORTED] ITS/PS tests can run only on PSA-enabled targets and RTOS.
19
+ #if !defined(MBED_CONF_RTOS_PRESENT)
20
+ #error [NOT_SUPPORTED] ITS/PS test cases require RTOS to run.
21
+ #else
22
+
23
+ #ifndef TARGET_PSA
24
+ #error [NOT_SUPPORTED] ITS/PS tests can run only on PSA-enabled targets.
21
25
#else
22
26
23
27
#include " greentea-client/test_env.h"
@@ -238,4 +242,5 @@ int main()
238
242
return !Harness::run (specification);
239
243
}
240
244
241
- #endif // TARGET_PSA || !defined(MBED_CONF_RTOS_PRESENT)
245
+ #endif // TARGET_PSA
246
+ #endif // !defined(MBED_CONF_RTOS_PRESENT)
Original file line number Diff line number Diff line change 2
2
#include "pal_mbed_os_intf.h"
3
3
4
4
#if !defined(MBED_CONF_RTOS_PRESENT )
5
- #error [NOT_SUPPORTED] PSA compliance attestation test cases requires RTOS to run.
5
+ #error [NOT_SUPPORTED] PSA compliance attestation test cases require RTOS to run.
6
6
#else
7
7
void test_entry_a001 (val_api_t * val_api , psa_api_t * psa_api );
8
8
Original file line number Diff line number Diff line change 2
2
#include "pal_mbed_os_intf.h"
3
3
4
4
#if !defined(MBED_CONF_RTOS_PRESENT )
5
- #error [NOT_SUPPORTED] PSA compliance its test cases requires RTOS to run
5
+ #error [NOT_SUPPORTED] PSA compliance its test cases require RTOS to run
6
6
#else
7
7
8
8
#ifdef ITS_TEST
@@ -19,4 +19,4 @@ int main(void)
19
19
test_start (test_entry_p001 , COMPLIANCE_TEST_STORAGE );
20
20
#endif
21
21
}
22
- #endif
22
+ #endif // !defined(MBED_CONF_RTOS_PRESENT)
Original file line number Diff line number Diff line change 2
2
#include "pal_mbed_os_intf.h"
3
3
#include "lifecycle.h"
4
4
#if !defined(MBED_CONF_RTOS_PRESENT )
5
- #error [NOT_SUPPORTED] PSA compliance its test cases requires RTOS to run
5
+ #error [NOT_SUPPORTED] PSA compliance its test cases require RTOS to run
6
6
#else
7
7
8
8
#ifdef ITS_TEST
@@ -19,4 +19,4 @@ int main(void)
19
19
test_start (test_entry_p002 , COMPLIANCE_TEST_STORAGE );
20
20
#endif
21
21
}
22
- #endif
22
+ #endif // !defined(MBED_CONF_RTOS_PRESENT)
Original file line number Diff line number Diff line change 1
1
#include "val_interfaces.h"
2
2
#include "pal_mbed_os_intf.h"
3
3
#if !defined(MBED_CONF_RTOS_PRESENT )
4
- #error [NOT_SUPPORTED] PSA compliance its test cases requires RTOS to run
4
+ #error [NOT_SUPPORTED] PSA compliance its test cases require RTOS to run
5
5
#else
6
6
7
7
#ifdef ITS_TEST
@@ -18,4 +18,4 @@ int main(void)
18
18
test_start (test_entry_p004 , COMPLIANCE_TEST_STORAGE );
19
19
#endif
20
20
}
21
- #endif
21
+ #endif // !defined(MBED_CONF_RTOS_PRESENT)
Original file line number Diff line number Diff line change 2
2
#include "pal_mbed_os_intf.h"
3
3
4
4
#if !defined(MBED_CONF_RTOS_PRESENT )
5
- #error [NOT_SUPPORTED] PSA compliance its test cases requires RTOS to run
5
+ #error [NOT_SUPPORTED] PSA compliance its test cases require RTOS to run
6
6
#else
7
7
8
8
#ifdef ITS_TEST
@@ -19,4 +19,4 @@ int main(void)
19
19
test_start (test_entry_p005 , COMPLIANCE_TEST_STORAGE );
20
20
#endif
21
21
}
22
- #endif
22
+ #endif // !defined(MBED_CONF_RTOS_PRESENT)
Original file line number Diff line number Diff line change 2
2
#include "pal_mbed_os_intf.h"
3
3
4
4
#if !defined(MBED_CONF_RTOS_PRESENT )
5
- #error [NOT_SUPPORTED] PSA compliance its test cases requires RTOS to run
5
+ #error [NOT_SUPPORTED] PSA compliance its test cases require RTOS to run
6
6
#else
7
7
8
8
#ifdef ITS_TEST
@@ -19,4 +19,4 @@ int main(void)
19
19
test_start (test_entry_p006 , COMPLIANCE_TEST_STORAGE );
20
20
#endif
21
21
}
22
- #endif
22
+ #endif // !defined(MBED_CONF_RTOS_PRESENT)
Original file line number Diff line number Diff line change 2
2
#include "pal_mbed_os_intf.h"
3
3
4
4
#if !defined(MBED_CONF_RTOS_PRESENT )
5
- #error [NOT_SUPPORTED] PSA compliance its test cases requires RTOS to run
5
+ #error [NOT_SUPPORTED] PSA compliance its test cases require RTOS to run
6
6
#else
7
7
8
8
#ifdef ITS_TEST
@@ -19,4 +19,4 @@ int main(void)
19
19
test_start (test_entry_p007 , COMPLIANCE_TEST_STORAGE );
20
20
#endif
21
21
}
22
- #endif
22
+ #endif // !defined(MBED_CONF_RTOS_PRESENT)
Original file line number Diff line number Diff line change 2
2
#include "pal_mbed_os_intf.h"
3
3
4
4
#if !defined(MBED_CONF_RTOS_PRESENT )
5
- #error [NOT_SUPPORTED] PSA compliance its test cases requires RTOS to run
5
+ #error [NOT_SUPPORTED] PSA compliance its test cases require RTOS to run
6
6
#else
7
7
8
8
#ifdef ITS_TEST
@@ -19,4 +19,4 @@ int main(void)
19
19
test_start (test_entry_p008 , COMPLIANCE_TEST_STORAGE );
20
20
#endif
21
21
}
22
- #endif
22
+ #endif // !defined(MBED_CONF_RTOS_PRESENT)
Original file line number Diff line number Diff line change 2
2
#include "pal_mbed_os_intf.h"
3
3
4
4
#if !defined(MBED_CONF_RTOS_PRESENT )
5
- #error [NOT_SUPPORTED] PSA compliance its test cases requires RTOS to run
5
+ #error [NOT_SUPPORTED] PSA compliance its test cases require RTOS to run
6
6
#else
7
7
8
8
#ifdef ITS_TEST
@@ -19,4 +19,4 @@ int main(void)
19
19
test_start (test_entry_p009 , COMPLIANCE_TEST_STORAGE );
20
20
#endif
21
21
}
22
- #endif
22
+ #endif // !defined(MBED_CONF_RTOS_PRESENT)
Original file line number Diff line number Diff line change 2
2
#include "pal_mbed_os_intf.h"
3
3
4
4
#if !defined(MBED_CONF_RTOS_PRESENT )
5
- #error [NOT_SUPPORTED] PSA compliance its test cases requires RTOS to run
5
+ #error [NOT_SUPPORTED] PSA compliance its test cases require RTOS to run
6
6
#else
7
7
8
8
#ifdef ITS_TEST
@@ -19,4 +19,4 @@ int main(void)
19
19
test_start (test_entry_p010 , COMPLIANCE_TEST_STORAGE );
20
20
#endif
21
21
}
22
- #endif
22
+ #endif // !defined(MBED_CONF_RTOS_PRESENT)
You can’t perform that action at this time.
0 commit comments