File tree Expand file tree Collapse file tree 7 files changed +43
-0
lines changed
platform/tests/TESTS/mbed_platform Expand file tree Collapse file tree 7 files changed +43
-0
lines changed Original file line number Diff line number Diff line change 3
3
4
4
include (mbed_greentea)
5
5
6
+ if (MBED_GREENTEA_TEST_BAREMETAL)
7
+ set (TEST_SKIPPED "atomic test cases require a RTOS to run." )
8
+ endif ()
9
+
6
10
mbed_greentea_add_test(
7
11
TEST_NAME
8
12
mbed-platform-atomic
9
13
TEST_SOURCES
10
14
main.cpp
15
+ TEST_SKIPPED
16
+ ${TEST_SKIPPED}
11
17
)
Original file line number Diff line number Diff line change 3
3
4
4
include (mbed_greentea)
5
5
6
+ if (NOT DEFINED MBED_CONF_PLATFORM_CRASH_CAPTURE_ENABLED)
7
+ set (TEST_SKIPPED "crash_reporting test not supported." )
8
+ endif ()
9
+
6
10
mbed_greentea_add_test(
7
11
TEST_NAME
8
12
mbed-platform-crash-reporting
9
13
TEST_SOURCES
10
14
main.cpp
11
15
HOST_TESTS_DIR
12
16
"${CMAKE_CURRENT_LIST_DIR} /../../host_tests"
17
+ TEST_SKIPPED
18
+ ${TEST_SKIPPED}
13
19
)
Original file line number Diff line number Diff line change 3
3
4
4
include (mbed_greentea)
5
5
6
+ if (NOT DEFINED MBED_CPU_STATS_ENABLED OR NOT "DEVICE_LPTICKER=1" IN_LIST MBED_TARGET_DEFINITIONS
7
+ OR NOT "DEVICE_SLEEP=1" IN_LIST MBED_TARGET_DEFINITIONS)
8
+ set (TEST_SKIPPED "Stats cpu test not supported." )
9
+ endif ()
10
+
6
11
mbed_greentea_add_test(
7
12
TEST_NAME
8
13
mbed-platform-stats-cpu
9
14
TEST_SOURCES
10
15
main.cpp
16
+ TEST_SKIPPED
17
+ ${TEST_SKIPPED}
11
18
)
Original file line number Diff line number Diff line change 3
3
4
4
include (mbed_greentea)
5
5
6
+ if (NOT DEFINED MBED_HEAP_STATS_ENABLED)
7
+ set (TEST_SKIPPED "Stats heap test not supported." )
8
+ endif ()
9
+
6
10
mbed_greentea_add_test(
7
11
TEST_NAME
8
12
mbed-platform-stats-heap
9
13
TEST_SOURCES
10
14
main.cpp
15
+ TEST_SKIPPED
16
+ ${TEST_SKIPPED}
11
17
)
Original file line number Diff line number Diff line change 3
3
4
4
include (mbed_greentea)
5
5
6
+ if (NOT DEFINED MBED_SYS_STATS_ENABLED)
7
+ set (TEST_SKIPPED "System stats test not supported." )
8
+ endif ()
9
+
6
10
mbed_greentea_add_test(
7
11
TEST_NAME
8
12
mbed-platform-stats-sys
9
13
TEST_SOURCES
10
14
main.cpp
15
+ TEST_SKIPPED
16
+ ${TEST_SKIPPED}
11
17
)
Original file line number Diff line number Diff line change 3
3
4
4
include (mbed_greentea)
5
5
6
+ if (NOT DEFINED MBED_THREAD_STATS_ENABLED)
7
+ set (TEST_SKIPPED "Thread stats test not supported." )
8
+ endif ()
9
+
6
10
mbed_greentea_add_test(
7
11
TEST_NAME
8
12
mbed-platform-stats-thread
9
13
TEST_SOURCES
10
14
main.cpp
15
+ TEST_SKIPPED
16
+ ${TEST_SKIPPED}
11
17
)
Original file line number Diff line number Diff line change 3
3
4
4
include (mbed_greentea)
5
5
6
+ if (DEFINED TARGET_ARM_FM)
7
+ set (TEST_SKIPPED "Wait ns test not supported." )
8
+ endif ()
9
+
6
10
mbed_greentea_add_test(
7
11
TEST_NAME
8
12
mbed-platform-wait-ns
9
13
TEST_SOURCES
10
14
main.cpp
11
15
HOST_TESTS_DIR
12
16
"${CMAKE_CURRENT_LIST_DIR} /../../host_tests"
17
+ TEST_SKIPPED
18
+ ${TEST_SKIPPED}
13
19
)
You can’t perform that action at this time.
0 commit comments