mirror of
https://github.com/catchorg/Catch2.git
synced 2024-11-22 13:26:10 +01:00
Add test for omitting the 'Filters' heading when there were none
This commit is contained in:
parent
ac94bd0520
commit
edfac75347
@ -322,6 +322,9 @@ endif()
|
|||||||
|
|
||||||
# configure unit tests via CTest
|
# configure unit tests via CTest
|
||||||
add_test(NAME RunTests COMMAND $<TARGET_FILE:SelfTest>)
|
add_test(NAME RunTests COMMAND $<TARGET_FILE:SelfTest>)
|
||||||
|
set_tests_properties(RunTests PROPERTIES
|
||||||
|
FAIL_REGULAR_EXPRESSION "Filters:"
|
||||||
|
)
|
||||||
|
|
||||||
add_test(NAME ListTests COMMAND $<TARGET_FILE:SelfTest> --list-tests --verbosity high)
|
add_test(NAME ListTests COMMAND $<TARGET_FILE:SelfTest> --list-tests --verbosity high)
|
||||||
set_tests_properties(ListTests PROPERTIES
|
set_tests_properties(ListTests PROPERTIES
|
||||||
|
Loading…
Reference in New Issue
Block a user