Skip to content

Commit d7ef8f8

Browse files
committed
CMake: greentea: Add skip reason to ticker test
1 parent 4917e01 commit d7ef8f8

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

drivers/tests/TESTS/mbed_drivers/ticker/CMakeLists.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,17 @@
33

44
include(mbed_greentea)
55

6+
if(NOT "DEVICE_USTICKER=1" IN_LIST MBED_TARGET_DEFINITIONS)
7+
set(TEST_SKIPPED "Microsecond ticker required")
8+
endif()
9+
610
mbed_greentea_add_test(
711
TEST_NAME
812
mbed-drivers-ticker
913
TEST_SOURCES
1014
main.cpp
1115
HOST_TESTS_DIR
1216
"${CMAKE_CURRENT_LIST_DIR}/../../host_tests"
17+
TEST_SKIPPED
18+
${TEST_SKIPPED}
1319
)

0 commit comments

Comments
 (0)