catch3
Progmasoft Catch3: an independently maintained C++17 test framework with a parallel runner, property checks, snapshots and structured results.
Clonegit clone https://git.progmasoft.com/catch3
Suppress "no test cases matched" message if there was no test spec string
- Commit
ca79d19325e9a901d4d50f70304f276856d7f17a- Author
- Phil Nash ·
- Parents
429699e7975a
Changes
include/catch_runner.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/catch_runner.hpp b/include/catch_runner.hpp index 95c466b9..0b2fad79 100644 --- a/include/catch_runner.hpp +++ b/include/catch_runner.hpp @@ -69,7 +69,7 @@ namespace Catch { } } } - if( testsRunForGroup == 0 ) + if( testsRunForGroup == 0 && !filterGroup.getName().empty() ) std::cerr << "\n[No test cases matched with: " << filterGroup.getName() << "]" << std::endl; return totals;