File tree Expand file tree Collapse file tree 7 files changed +7
-7
lines changed
rtos/tests/TESTS/mbed_rtos Expand file tree Collapse file tree 7 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 3
3
4
4
include (mbed_greentea )
5
5
6
- if (DEFINED MBED_RTOS_SINGLE_THREAD OR MBED_GREENTEA_TEST_BAREMETAL )
6
+ if (${MBED_C_LIB} STREQUAL "small" OR MBED_GREENTEA_TEST_BAREMETAL )
7
7
set (TEST_SKIPPED "RTOS basic test cases require RTOS with multithread to run" )
8
8
endif ()
9
9
Original file line number Diff line number Diff line change 3
3
4
4
include (mbed_greentea )
5
5
6
- if (DEFINED MBED_RTOS_SINGLE_THREAD OR MBED_GREENTEA_TEST_BAREMETAL )
6
+ if (${MBED_C_LIB} STREQUAL "small" OR MBED_GREENTEA_TEST_BAREMETAL )
7
7
set (TEST_SKIPPED "Condition variable test cases require RTOS with multithread to run" )
8
8
endif ()
9
9
Original file line number Diff line number Diff line change 3
3
4
4
include (mbed_greentea )
5
5
6
- if (DEFINED TARGET_CORTEX_A )
6
+ if (" TARGET_CORTEX_A" IN_LIST MBED_TARGET_DEFINITIONS )
7
7
set (TEST_SKIPPED "test not supported for cortex-A." )
8
8
elseif (NOT "DEVICE_USTICKER=1" IN_LIST MBED_TARGET_DEFINITIONS )
9
9
set (TEST_SKIPPED "UsTicker need to be enabled for this test." )
Original file line number Diff line number Diff line change 3
3
4
4
include (mbed_greentea )
5
5
6
- if (DEFINED MBED_RTOS_SINGLE_THREAD OR MBED_GREENTEA_TEST_BAREMETAL )
6
+ if (${MBED_C_LIB} STREQUAL "small" OR MBED_GREENTEA_TEST_BAREMETAL )
7
7
set (TEST_SKIPPED "mail test cases require RTOS with multithread to run" )
8
8
endif ()
9
9
Original file line number Diff line number Diff line change 3
3
4
4
include (mbed_greentea )
5
5
6
- if (DEFINED MBED_RTOS_SINGLE_THREAD OR MBED_GREENTEA_TEST_BAREMETAL )
6
+ if (${MBED_C_LIB} STREQUAL "small" OR MBED_GREENTEA_TEST_BAREMETAL )
7
7
set (TEST_SKIPPED "Mutex test cases require RTOS with multithread to run" )
8
8
endif ()
9
9
Original file line number Diff line number Diff line change 3
3
4
4
include (mbed_greentea )
5
5
6
- if (DEFINED MBED_RTOS_SINGLE_THREAD OR MBED_GREENTEA_TEST_BAREMETAL )
6
+ if (${MBED_C_LIB} STREQUAL "small" OR MBED_GREENTEA_TEST_BAREMETAL )
7
7
set (TEST_SKIPPED "Queue test cases require RTOS with multithread to run" )
8
8
endif ()
9
9
Original file line number Diff line number Diff line change 3
3
4
4
include (mbed_greentea )
5
5
6
- if (DEFINED MBED_RTOS_SINGLE_THREAD OR MBED_GREENTEA_TEST_BAREMETAL )
6
+ if (${MBED_C_LIB} STREQUAL "small" OR MBED_GREENTEA_TEST_BAREMETAL )
7
7
set (TEST_SKIPPED "RTOS basic test cases require RTOS with multithread to run" )
8
8
endif ()
9
9
You can’t perform that action at this time.
0 commit comments