mirror of https://github.com/ARMmbed/mbed-os.git
Incorporated review comments
parent
f30dd1cef2
commit
829e90afc8
|
@ -17,7 +17,7 @@
|
|||
*/
|
||||
|
||||
#if !defined(MBED_CONF_RTOS_PRESENT)
|
||||
#error [NOT_SUPPORTED] PSA attestation test case requires RTOS to run.
|
||||
#error [NOT_SUPPORTED] PSA attestation test cases require RTOS to run.
|
||||
#else
|
||||
|
||||
#include "psa/crypto.h"
|
||||
|
|
|
@ -16,8 +16,12 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#if !defined(TARGET_PSA) || !defined(MBED_CONF_RTOS_PRESENT)
|
||||
#error [NOT_SUPPORTED] ITS/PS tests can run only on PSA-enabled targets and RTOS.
|
||||
#if !defined(MBED_CONF_RTOS_PRESENT)
|
||||
#error [NOT_SUPPORTED] ITS/PS test cases require RTOS to run.
|
||||
#else
|
||||
|
||||
#ifndef TARGET_PSA
|
||||
#error [NOT_SUPPORTED] ITS/PS tests can run only on PSA-enabled targets.
|
||||
#else
|
||||
|
||||
#include "greentea-client/test_env.h"
|
||||
|
@ -238,4 +242,5 @@ int main()
|
|||
return !Harness::run(specification);
|
||||
}
|
||||
|
||||
#endif // TARGET_PSA || !defined(MBED_CONF_RTOS_PRESENT)
|
||||
#endif // TARGET_PSA
|
||||
#endif // !defined(MBED_CONF_RTOS_PRESENT)
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
#include "pal_mbed_os_intf.h"
|
||||
|
||||
#if !defined(MBED_CONF_RTOS_PRESENT)
|
||||
#error [NOT_SUPPORTED] PSA compliance attestation test cases requires RTOS to run.
|
||||
#error [NOT_SUPPORTED] PSA compliance attestation test cases require RTOS to run.
|
||||
#else
|
||||
void test_entry_a001(val_api_t *val_api, psa_api_t *psa_api);
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
#include "pal_mbed_os_intf.h"
|
||||
|
||||
#if !defined(MBED_CONF_RTOS_PRESENT)
|
||||
#error [NOT_SUPPORTED] PSA compliance its test cases requires RTOS to run
|
||||
#error [NOT_SUPPORTED] PSA compliance its test cases require RTOS to run
|
||||
#else
|
||||
|
||||
#ifdef ITS_TEST
|
||||
|
@ -19,4 +19,4 @@ int main(void)
|
|||
test_start(test_entry_p001, COMPLIANCE_TEST_STORAGE);
|
||||
#endif
|
||||
}
|
||||
#endif
|
||||
#endif // !defined(MBED_CONF_RTOS_PRESENT)
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
#include "pal_mbed_os_intf.h"
|
||||
#include "lifecycle.h"
|
||||
#if !defined(MBED_CONF_RTOS_PRESENT)
|
||||
#error [NOT_SUPPORTED] PSA compliance its test cases requires RTOS to run
|
||||
#error [NOT_SUPPORTED] PSA compliance its test cases require RTOS to run
|
||||
#else
|
||||
|
||||
#ifdef ITS_TEST
|
||||
|
@ -19,4 +19,4 @@ int main(void)
|
|||
test_start(test_entry_p002, COMPLIANCE_TEST_STORAGE);
|
||||
#endif
|
||||
}
|
||||
#endif
|
||||
#endif // !defined(MBED_CONF_RTOS_PRESENT)
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#include "val_interfaces.h"
|
||||
#include "pal_mbed_os_intf.h"
|
||||
#if !defined(MBED_CONF_RTOS_PRESENT)
|
||||
#error [NOT_SUPPORTED] PSA compliance its test cases requires RTOS to run
|
||||
#error [NOT_SUPPORTED] PSA compliance its test cases require RTOS to run
|
||||
#else
|
||||
|
||||
#ifdef ITS_TEST
|
||||
|
@ -18,4 +18,4 @@ int main(void)
|
|||
test_start(test_entry_p004, COMPLIANCE_TEST_STORAGE);
|
||||
#endif
|
||||
}
|
||||
#endif
|
||||
#endif // !defined(MBED_CONF_RTOS_PRESENT)
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
#include "pal_mbed_os_intf.h"
|
||||
|
||||
#if !defined(MBED_CONF_RTOS_PRESENT)
|
||||
#error [NOT_SUPPORTED] PSA compliance its test cases requires RTOS to run
|
||||
#error [NOT_SUPPORTED] PSA compliance its test cases require RTOS to run
|
||||
#else
|
||||
|
||||
#ifdef ITS_TEST
|
||||
|
@ -19,4 +19,4 @@ int main(void)
|
|||
test_start(test_entry_p005, COMPLIANCE_TEST_STORAGE);
|
||||
#endif
|
||||
}
|
||||
#endif
|
||||
#endif // !defined(MBED_CONF_RTOS_PRESENT)
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
#include "pal_mbed_os_intf.h"
|
||||
|
||||
#if !defined(MBED_CONF_RTOS_PRESENT)
|
||||
#error [NOT_SUPPORTED] PSA compliance its test cases requires RTOS to run
|
||||
#error [NOT_SUPPORTED] PSA compliance its test cases require RTOS to run
|
||||
#else
|
||||
|
||||
#ifdef ITS_TEST
|
||||
|
@ -19,4 +19,4 @@ int main(void)
|
|||
test_start(test_entry_p006, COMPLIANCE_TEST_STORAGE);
|
||||
#endif
|
||||
}
|
||||
#endif
|
||||
#endif // !defined(MBED_CONF_RTOS_PRESENT)
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
#include "pal_mbed_os_intf.h"
|
||||
|
||||
#if !defined(MBED_CONF_RTOS_PRESENT)
|
||||
#error [NOT_SUPPORTED] PSA compliance its test cases requires RTOS to run
|
||||
#error [NOT_SUPPORTED] PSA compliance its test cases require RTOS to run
|
||||
#else
|
||||
|
||||
#ifdef ITS_TEST
|
||||
|
@ -19,4 +19,4 @@ int main(void)
|
|||
test_start(test_entry_p007, COMPLIANCE_TEST_STORAGE);
|
||||
#endif
|
||||
}
|
||||
#endif
|
||||
#endif // !defined(MBED_CONF_RTOS_PRESENT)
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
#include "pal_mbed_os_intf.h"
|
||||
|
||||
#if !defined(MBED_CONF_RTOS_PRESENT)
|
||||
#error [NOT_SUPPORTED] PSA compliance its test cases requires RTOS to run
|
||||
#error [NOT_SUPPORTED] PSA compliance its test cases require RTOS to run
|
||||
#else
|
||||
|
||||
#ifdef ITS_TEST
|
||||
|
@ -19,4 +19,4 @@ int main(void)
|
|||
test_start(test_entry_p008, COMPLIANCE_TEST_STORAGE);
|
||||
#endif
|
||||
}
|
||||
#endif
|
||||
#endif // !defined(MBED_CONF_RTOS_PRESENT)
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
#include "pal_mbed_os_intf.h"
|
||||
|
||||
#if !defined(MBED_CONF_RTOS_PRESENT)
|
||||
#error [NOT_SUPPORTED] PSA compliance its test cases requires RTOS to run
|
||||
#error [NOT_SUPPORTED] PSA compliance its test cases require RTOS to run
|
||||
#else
|
||||
|
||||
#ifdef ITS_TEST
|
||||
|
@ -19,4 +19,4 @@ int main(void)
|
|||
test_start(test_entry_p009, COMPLIANCE_TEST_STORAGE);
|
||||
#endif
|
||||
}
|
||||
#endif
|
||||
#endif // !defined(MBED_CONF_RTOS_PRESENT)
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
#include "pal_mbed_os_intf.h"
|
||||
|
||||
#if !defined(MBED_CONF_RTOS_PRESENT)
|
||||
#error [NOT_SUPPORTED] PSA compliance its test cases requires RTOS to run
|
||||
#error [NOT_SUPPORTED] PSA compliance its test cases require RTOS to run
|
||||
#else
|
||||
|
||||
#ifdef ITS_TEST
|
||||
|
@ -19,4 +19,4 @@ int main(void)
|
|||
test_start(test_entry_p010, COMPLIANCE_TEST_STORAGE);
|
||||
#endif
|
||||
}
|
||||
#endif
|
||||
#endif // !defined(MBED_CONF_RTOS_PRESENT)
|
||||
|
|
Loading…
Reference in New Issue