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.
ls
1 parent 86c00f6 commit 4917e0154ca37b7e47cc2372fc2f98aec5570b6b
@Lingkai Dong Lingkai Dong authored on 9 Jul 2021
Showing 1 changed file
View
tools/cmake/mbed_greentea.cmake