Skip to content

Commit 972c8fd

Browse files
authored
Merge pull request #14771 from ghseb/early-test-skip-5.15
connectivity tests: Early test skip
2 parents 54b8523 + b2e4fb0 commit 972c8fd

File tree

2 files changed

+15
-15
lines changed

2 files changed

+15
-15
lines changed

TESTS/lorawan/loraradio/main.cpp

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -17,17 +17,6 @@
1717
#error [NOT_SUPPORTED] LORADIO test cases require a RTOS to run.
1818
#else
1919

20-
#include "utest.h"
21-
#include "unity.h"
22-
#include "greentea-client/test_env.h"
23-
24-
#include "Semaphore.h"
25-
26-
#include "mbed_trace.h"
27-
#define TRACE_GROUP "RTST"
28-
29-
#include "LoRaRadio.h"
30-
3120
#define SX1272 0xFF
3221
#define SX1276 0xEE
3322

@@ -39,6 +28,17 @@
3928
#error [NOT_SUPPORTED] Requires parameters from application config file.
4029
#endif
4130

31+
#include "utest.h"
32+
#include "unity.h"
33+
#include "greentea-client/test_env.h"
34+
35+
#include "Semaphore.h"
36+
37+
#include "mbed_trace.h"
38+
#define TRACE_GROUP "RTST"
39+
40+
#include "LoRaRadio.h"
41+
4242
#if (MBED_CONF_APP_LORA_RADIO == SX1272) || (MBED_CONF_APP_LORA_RADIO == SX1276)
4343

4444
using namespace utest::v1;

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)