-
Notifications
You must be signed in to change notification settings - Fork 3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CMake: tests: Support skipping unsupported test with reason
Add a new argument `TEST_SKIPPED` to `mbed_greentea_add_test()` to indicate a test is skip and give a reason (e.g. the test does not support the target and/or configuration used). This is achieved with a custom target in place of an executable while keeping the same target name. The skipping message is printed at both configuration and build stages.
- Loading branch information
Showing
1 changed file
with
49 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters