Add a new test property to exclude tests from ctest actions
Hi,
I'm running tests with ctest -T memcheck but now I want to exclude some tests from the Valgrind run. I know I could exclude tests with ctest's option -E but I want to exclude tests from CMakeLists.txt
files. I'm thinking of a new test property lets name it EXCLUDE_FROM_ACTION
so that I could write
add_executable(foo ...) add_test(NAME foo ...) set_tests_properties(foo PROPERTIES EXCLUDE_FROM_ACTION memcheck)
Or maybe EXCLUDE_FROM_ACTIONS
to exclude from several actions in one step?
Thanks in advance!
Cheers, André