Cellular: Fixing to skip greentea test if sim pin is not configured.

pull/6496/head
Teppo Järvelin 2018-04-09 10:22:31 +03:00
parent b3226acbbf
commit 9c185d9b63
1 changed files with 11 additions and 7 deletions

View File

@ -26,6 +26,10 @@
#error [NOT_SUPPORTED] CELLULAR_DEVICE must be defined #error [NOT_SUPPORTED] CELLULAR_DEVICE must be defined
#endif #endif
#ifndef MBED_CONF_APP_CELLULAR_SIM_PIN
#error [NOT_SUPPORTED] SIM pin code is needed. Skipping this build.
#endif
#include "greentea-client/test_env.h" #include "greentea-client/test_env.h"
#include "unity.h" #include "unity.h"
#include "utest.h" #include "utest.h"