Skip to content

Commit a8ce71f

Browse files
Fix test building in baremetal (due to previously ignored JSON configs now being used)
1 parent a9f091d commit a8ce71f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

platform/tests/TESTS/mbed_platform/stats_thread/CMakeLists.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ if((NOT "MBED_THREAD_STATS_ENABLED=1" IN_LIST MBED_CONFIG_DEFINITIONS) AND (NOT
77
set(TEST_SKIPPED "Thread stats not enabled")
88
endif()
99

10+
if("MBED_CONF_TARGET_APPLICATION_PROFILE=bare-metal" IN_LIST MBED_CONFIG_DEFINITIONS)
11+
set(TEST_SKIPPED "This test requires the RTOS")
12+
endif()
13+
1014
mbed_greentea_add_test(
1115
TEST_NAME
1216
mbed-platform-stats-thread

0 commit comments

Comments
 (0)