summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Source/cmCTest.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmCTest.cxx b/Source/cmCTest.cxx
index 124e8be..d7354d6 100644
--- a/Source/cmCTest.cxx
+++ b/Source/cmCTest.cxx
@@ -1991,7 +1991,8 @@ int cmCTest::TestDirectory(bool memcheck)
}
else
{
- if (passed.size() && (m_UseIncludeRegExp || m_UseExcludeRegExp))
+ if (m_Verbose && passed.size() &&
+ (m_UseIncludeRegExp || m_UseExcludeRegExp))
{
std::cerr << "\nThe following tests passed:\n";
for(cmCTest::tm_VectorOfStrings::iterator j = passed.begin();