Build SPM tests only for MBED_SPM targets

pull/9653/head
Michael Schwarcz 2019-02-10 11:02:55 +02:00
parent 1db4e4634f
commit 60c6740c88
3 changed files with 13 additions and 0 deletions

View File

@ -19,6 +19,10 @@
#error [NOT_SUPPORTED] SPM tests can run only on SPM-enabled targets
#endif // COMPONENT_PSA_SRV_IPC
#ifndef TARGET_MBED_SPM
#error [NOT_SUPPORTED] SPM tests currently only run on MBED_SPM targets
#endif // TARGET_MBED_SPM
#include "mbed.h"
#include "greentea-client/test_env.h"
#include "unity.h"

View File

@ -19,6 +19,10 @@
#error [NOT_SUPPORTED] SPM tests can run only on SPM-enabled targets
#endif // COMPONENT_PSA_SRV_IPC
#ifndef TARGET_MBED_SPM
#error [NOT_SUPPORTED] SPM tests currently only run on MBED_SPM targets
#endif // TARGET_MBED_SPM
#include "mbed.h"
#include "greentea-client/test_env.h"
#include "unity.h"

View File

@ -19,6 +19,11 @@
#ifndef COMPONENT_PSA_SRV_IPC
#error [NOT_SUPPORTED] SPM tests can run only on SPM-enabled targets
#endif // COMPONENT_PSA_SRV_IPC
#ifndef TARGET_MBED_SPM
#error [NOT_SUPPORTED] SPM tests currently only run on MBED_SPM targets
#endif // TARGET_MBED_SPM
/* -------------------------------------- Includes ----------------------------------- */
#include "greentea-client/test_env.h"