testing build: add possibility to filter tests with ctest regex

This commit is contained in:
Matthias Grob
2019-04-23 08:36:03 +01:00
parent 5a90382cb8
commit 542f61f04b
3 changed files with 4 additions and 2 deletions

View File

@@ -147,7 +147,7 @@ endforeach()
add_custom_target(test_results
COMMAND ${CMAKE_CTEST_COMMAND} --output-on-failure -T Test
COMMAND ${CMAKE_CTEST_COMMAND} --output-on-failure -T Test -R ${TESTFILTER}
DEPENDS
px4
examples__dyn_hello