Skip to content

Commit 9a14430

Browse files
committed
Incorporate the review comments
1 parent b943992 commit 9a14430

File tree

7 files changed

+7
-7
lines changed

7 files changed

+7
-7
lines changed

rtos/tests/TESTS/mbed_rtos/basic/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
include(mbed_greentea)
55

6-
if(DEFINED MBED_RTOS_SINGLE_THREAD OR MBED_GREENTEA_TEST_BAREMETAL)
6+
if(${MBED_C_LIB} STREQUAL "small" OR MBED_GREENTEA_TEST_BAREMETAL)
77
set(TEST_SKIPPED "RTOS basic test cases require RTOS with multithread to run")
88
endif()
99

rtos/tests/TESTS/mbed_rtos/condition_variable/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
include(mbed_greentea)
55

6-
if(DEFINED MBED_RTOS_SINGLE_THREAD OR MBED_GREENTEA_TEST_BAREMETAL)
6+
if(${MBED_C_LIB} STREQUAL "small" OR MBED_GREENTEA_TEST_BAREMETAL)
77
set(TEST_SKIPPED "Condition variable test cases require RTOS with multithread to run")
88
endif()
99

rtos/tests/TESTS/mbed_rtos/heap_and_stack/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
include(mbed_greentea)
55

6-
if(DEFINED TARGET_CORTEX_A)
6+
if("TARGET_CORTEX_A" IN_LIST MBED_TARGET_DEFINITIONS)
77
set(TEST_SKIPPED "test not supported for cortex-A.")
88
elseif(NOT "DEVICE_USTICKER=1" IN_LIST MBED_TARGET_DEFINITIONS)
99
set(TEST_SKIPPED "UsTicker need to be enabled for this test.")

rtos/tests/TESTS/mbed_rtos/mail/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
include(mbed_greentea)
55

6-
if(DEFINED MBED_RTOS_SINGLE_THREAD OR MBED_GREENTEA_TEST_BAREMETAL)
6+
if(${MBED_C_LIB} STREQUAL "small" OR MBED_GREENTEA_TEST_BAREMETAL)
77
set(TEST_SKIPPED "mail test cases require RTOS with multithread to run")
88
endif()
99

rtos/tests/TESTS/mbed_rtos/mutex/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
include(mbed_greentea)
55

6-
if(DEFINED MBED_RTOS_SINGLE_THREAD OR MBED_GREENTEA_TEST_BAREMETAL)
6+
if(${MBED_C_LIB} STREQUAL "small" OR MBED_GREENTEA_TEST_BAREMETAL)
77
set(TEST_SKIPPED "Mutex test cases require RTOS with multithread to run")
88
endif()
99

rtos/tests/TESTS/mbed_rtos/queue/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
include(mbed_greentea)
55

6-
if(DEFINED MBED_RTOS_SINGLE_THREAD OR MBED_GREENTEA_TEST_BAREMETAL)
6+
if(${MBED_C_LIB} STREQUAL "small" OR MBED_GREENTEA_TEST_BAREMETAL)
77
set(TEST_SKIPPED "Queue test cases require RTOS with multithread to run")
88
endif()
99

rtos/tests/TESTS/mbed_rtos/threads/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
include(mbed_greentea)
55

6-
if(DEFINED MBED_RTOS_SINGLE_THREAD OR MBED_GREENTEA_TEST_BAREMETAL)
6+
if(${MBED_C_LIB} STREQUAL "small" OR MBED_GREENTEA_TEST_BAREMETAL)
77
set(TEST_SKIPPED "RTOS basic test cases require RTOS with multithread to run")
88
endif()
99

0 commit comments

Comments
 (0)