Skip to content

Commit 9bea150

Browse files
authored
Merge pull request #12612 from jamesbeyond/int_test
TEST: add RTOS macro to enable integration test
2 parents b090065 + 0e67d1c commit 9bea150

File tree

7 files changed

+12
-2
lines changed

7 files changed

+12
-2
lines changed

TESTS/integration/COMMON/download_test.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
* Based on mbed-stress-test by Marcus Chang @ Arm Mbed - http://github.com/ARMmbed/mbed-stress-test
2222
*/
2323

24-
#if INTEGRATION_TESTS
24+
#if INTEGRATION_TESTS && MBED_CONF_RTOS_PRESENT
2525

2626
#include "mbed.h"
2727
#include "unity/unity.h"

TESTS/integration/COMMON/file_test.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
/*
2121
* Based on mbed-stress-test by Marcus Chang @ Arm Mbed - http://github.com/ARMmbed/mbed-stress-test
2222
*/
23-
#if INTEGRATION_TESTS
23+
#if INTEGRATION_TESTS && MBED_CONF_RTOS_PRESENT
2424

2525
#include "mbed.h"
2626
#include "unity/unity.h"

TESTS/integration/fs-single/main.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@
2323

2424
#if !INTEGRATION_TESTS
2525
#error [NOT_SUPPORTED] integration tests not enabled for this target
26+
#elif !MBED_CONF_RTOS_PRESENT
27+
#error [NOT_SUPPORTED] integration tests require RTOS
2628
#else
2729

2830
#include "mbed.h"

TESTS/integration/fs-threaded/main.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@
2323

2424
#if !INTEGRATION_TESTS
2525
#error [NOT_SUPPORTED] integration tests not enabled for this target
26+
#elif !MBED_CONF_RTOS_PRESENT
27+
#error [NOT_SUPPORTED] integration tests require RTOS
2628
#else
2729

2830
#include "mbed.h"

TESTS/integration/net-single/main.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@
2323

2424
#if !INTEGRATION_TESTS
2525
#error [NOT_SUPPORTED] integration tests not enabled for this target
26+
#elif !MBED_CONF_RTOS_PRESENT
27+
#error [NOT_SUPPORTED] integration tests require RTOS
2628
#else
2729

2830
#include "mbed.h"

TESTS/integration/net-threaded/main.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@
2323

2424
#if !INTEGRATION_TESTS
2525
#error [NOT_SUPPORTED] integration tests not enabled for this target
26+
#elif !MBED_CONF_RTOS_PRESENT
27+
#error [NOT_SUPPORTED] integration tests require RTOS
2628
#else
2729

2830
#include "mbed.h"

TESTS/integration/stress-net-fs/main.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@
2323

2424
#if !INTEGRATION_TESTS
2525
#error [NOT_SUPPORTED] integration tests not enabled for this target
26+
#elif !MBED_CONF_RTOS_PRESENT
27+
#error [NOT_SUPPORTED] integration tests require RTOS
2628
#else
2729

2830
#include "mbed.h"

0 commit comments

Comments
 (0)