CMake: tests: Support skipping a test with a reason
Add a new argument `TEST_SKIPPED` to `mbed_greentea_add_test()` to indicate a test is skipped and give a reason (e.g. the Mbed target and/or configuration does not provide what the test requires). The skip reason of a test is printed when running tests with `ctest`, and the test is marked as "Skipped" in the test report. |
---|
|
tools/cmake/mbed_greentea.cmake |
---|