From ca79d19325e9a901d4d50f70304f276856d7f17a Mon Sep 17 00:00:00 2001 From: Phil Nash Date: Tue, 19 Feb 2013 18:41:57 +0000 Subject: [PATCH] Suppress "no test cases matched" message if there was no test spec string --- 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;