Skip Mbed Crypto tests when when Mbed Crypto is OFF

pull/8754/head
itayzafrir 2018-11-27 11:56:25 +02:00
parent 3e88dcf177
commit 1431e216ad
1 changed files with 4 additions and 0 deletions

View File

@ -15,6 +15,10 @@
* limitations under the License.
*/
#if ((!defined(TARGET_PSA)) || (!defined(MBEDTLS_PSA_CRYPTO_C)))
#error [NOT_SUPPORTED] Mbed Crypto is OFF - skipping.
#endif
#include <stdio.h>
#include "mbed.h"
#include "greentea-client/test_env.h"