CTest to only print final summary without start/execute messages for each test
When running CTest without any verbose mode specified, I get a console output looking like this:
Test project cmake-example/build
Start 1: moduleA-unittest:A::ctor
1/4 Test #1: moduleA-unittest:A::ctor ....................... Passed 0.03 sec
Start 2: moduleA-unittest:A::add_directory_content
2/4 Test #2: moduleA-unittest:A::add_directory_content ...... Passed 0.04 sec
Start 3: moduleA-unittest:A::for_contents
3/4 Test #3: moduleA-unittest:A::for_contents ............... Passed 0.03 sec
Start 4: moduleB-unittest:B::fetch_directory_contents
4/4 Test #4: moduleB-unittest:B::fetch_directory_contents ... Passed 0.01 sec
100% tests passed, 0 tests failed out of 4
Label Time Summary:
a = 0.10 sec*proc (3 tests)
b = 0.01 sec*proc (1 test)
moduleA-unittest = 0.10 sec*proc (3 tests)
moduleB-unittest = 0.01 sec*proc (1 test)
Total Test time (real) = 0.13 sec
I'd like to have an option to only get the final summary, that is, everything from X% tests passed and below in the above example. Is there already some option (combination) that is able to achieve that?