From e61411e60cc5a5ef5f77eac4b039f8bd4e95454b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Teppo=20J=C3=A4rvelin?= Date: Wed, 21 Feb 2018 11:40:17 +0200 Subject: [PATCH] Fixed travis-ci. --- features/cellular/TESTS/cellular/cellular_all/main.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/features/cellular/TESTS/cellular/cellular_all/main.cpp b/features/cellular/TESTS/cellular/cellular_all/main.cpp index 816d6b744e..1309b8e81f 100644 --- a/features/cellular/TESTS/cellular/cellular_all/main.cpp +++ b/features/cellular/TESTS/cellular/cellular_all/main.cpp @@ -17,6 +17,10 @@ #include "CellularTests.h" +#if !defined(MBED_CONF_NSAPI_PRESENT) +#error [NOT_SUPPORTED] A json configuration file is needed. Skipping this build. +#endif + #ifndef CELLULAR_DEVICE #error [NOT_SUPPORTED] CELLULAR_DEVICE must be defined for this test #endif