Skip to content

Commit 2dcd6c0

Browse files
authored
Merge pull request #14767 from ghseb/early-test-skip
connectivity tests: early skip fix
2 parents 1606b00 + 3bee491 commit 2dcd6c0

File tree

2 files changed

+15
-15
lines changed
  • connectivity

2 files changed

+15
-15
lines changed

connectivity/lorawan/tests/TESTS/lorawan/loraradio/main.cpp

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -15,17 +15,6 @@
1515
* limitations under the License.
1616
*/
1717

18-
#include "utest.h"
19-
#include "unity.h"
20-
#include "greentea-client/test_env.h"
21-
22-
#include "Semaphore.h"
23-
24-
#include "mbed_trace.h"
25-
#define TRACE_GROUP "RTST"
26-
27-
#include "LoRaRadio.h"
28-
2918
#if COMPONENT_SX1272
3019
#include "SX1272_LoRaRadio.h"
3120
#elif COMPONENT_SX1276
@@ -38,6 +27,17 @@
3827
#error [NOT_SUPPORTED] Lora radio is not configured
3928
#endif
4029

30+
#include "utest.h"
31+
#include "unity.h"
32+
#include "greentea-client/test_env.h"
33+
34+
#include "Semaphore.h"
35+
36+
#include "mbed_trace.h"
37+
#define TRACE_GROUP "RTST"
38+
39+
#include "LoRaRadio.h"
40+
4141
using namespace utest::v1;
4242
using namespace mbed;
4343

connectivity/nfc/tests/TESTS/nfc/eeprom/main.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@
1515
* limitations under the License.
1616
*/
1717

18+
#if !MBED_CONF_NFCEEPROM
19+
#error [NOT_SUPPORTED] NFC EEPROM not supported for this target
20+
#else
21+
1822
#include "mbed.h"
1923
#include "greentea-client/test_env.h"
2024
#include "unity.h"
@@ -23,10 +27,6 @@
2327
#include <events/mbed_events.h>
2428
#include "NFCEEPROMDriver.h"
2529

26-
#if !MBED_CONF_NFCEEPROM
27-
#error [NOT_SUPPORTED] NFC EEPROM not supported for this target
28-
#else
29-
3030
using namespace utest::v1;
3131
using namespace mbed::nfc;
3232

0 commit comments

Comments
 (0)