Skip to content

Commit

Permalink
Merge pull request #14767 from ghseb/early-test-skip
Browse files Browse the repository at this point in the history
connectivity tests: early skip fix
  • Loading branch information
0xc0170 authored Jun 14, 2021
2 parents 1606b00 + 3bee491 commit 2dcd6c0
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 15 deletions.
22 changes: 11 additions & 11 deletions connectivity/lorawan/tests/TESTS/lorawan/loraradio/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,17 +15,6 @@
* limitations under the License.
*/

#include "utest.h"
#include "unity.h"
#include "greentea-client/test_env.h"

#include "Semaphore.h"

#include "mbed_trace.h"
#define TRACE_GROUP "RTST"

#include "LoRaRadio.h"

#if COMPONENT_SX1272
#include "SX1272_LoRaRadio.h"
#elif COMPONENT_SX1276
Expand All @@ -38,6 +27,17 @@
#error [NOT_SUPPORTED] Lora radio is not configured
#endif

#include "utest.h"
#include "unity.h"
#include "greentea-client/test_env.h"

#include "Semaphore.h"

#include "mbed_trace.h"
#define TRACE_GROUP "RTST"

#include "LoRaRadio.h"

using namespace utest::v1;
using namespace mbed;

Expand Down
8 changes: 4 additions & 4 deletions connectivity/nfc/tests/TESTS/nfc/eeprom/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@
* limitations under the License.
*/

#if !MBED_CONF_NFCEEPROM
#error [NOT_SUPPORTED] NFC EEPROM not supported for this target
#else

#include "mbed.h"
#include "greentea-client/test_env.h"
#include "unity.h"
Expand All @@ -23,10 +27,6 @@
#include <events/mbed_events.h>
#include "NFCEEPROMDriver.h"

#if !MBED_CONF_NFCEEPROM
#error [NOT_SUPPORTED] NFC EEPROM not supported for this target
#else

using namespace utest::v1;
using namespace mbed::nfc;

Expand Down

0 comments on commit 2dcd6c0

Please sign in to comment.