ctest_test: Report which tests failed even when QUIET is used

Since commit v3.3.0-rc1~410^2~3 (ctest_test: Add QUIET option,
2015-02-17) if tests fail when QUIET is used one sees:

  The following tests FAILED:

but not the subsequent line(s) indicating which tests failed.
Restore the list of failed tests.
This commit is contained in:
Zack Galbreath 2016-01-13 09:49:40 -05:00 committed by Brad King
parent 05ab4b7c66
commit a7393cbd40
1 changed files with 2 additions and 2 deletions

View File

@ -609,11 +609,11 @@ int cmCTestTestHandler::ProcessHandler()
if ( ftit->Status != cmCTestTestHandler::COMPLETED )
{
ofs << ftit->TestCount << ":" << ftit->Name << std::endl;
cmCTestOptionalLog(this->CTest, HANDLER_OUTPUT, "\t" << std::setw(3)
cmCTestLog(this->CTest, HANDLER_OUTPUT, "\t" << std::setw(3)
<< ftit->TestCount << " - "
<< ftit->Name << " ("
<< this->GetTestStatus(ftit->Status) << ")"
<< std::endl, this->Quiet);
<< std::endl);
}
}
}