ENH: Cleanup output

This commit is contained in:
Andy Cedilnik 2003-12-16 13:18:22 -05:00
parent 6e5eddb917
commit 303cb13e0b
1 changed files with 2 additions and 1 deletions

View File

@ -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();