WiFi tests: Make tests CI friendly

pull/3147/head
Bartek Szatkowski 2016-11-10 17:03:26 +00:00
parent e116a66270
commit 3c06cdae7e
2 changed files with 1 additions and 1 deletions

View File

@ -35,7 +35,7 @@ using namespace utest::v1;
* - WIFI_TEST_NETWORKS - List of network that presence will be asserted e.g. "net1", "net2", "net3"
*/
#if !defined(MBED_CONF_APP_WIFI_SSID) || !defined(MBED_CONF_APP_WIFI_PASSWORD) || !defined(MBED_CONF_APP_WIFI_NETWORKS)
#error MBED_CONF_APP_WIFI_SSID, MBED_CONF_APP_WIFI_PASSWORD and MBED_CONF_APP_WIFI_NETWORKS have to be defined for this test.
#error [NOT_SUPPORTED] MBED_CONF_APP_WIFI_SSID, MBED_CONF_APP_WIFI_PASSWORD and MBED_CONF_APP_WIFI_NETWORKS have to be defined for this test.
#endif
const char *networks[] = {MBED_CONF_APP_WIFI_NETWORKS, NULL};