Merge topic 'report_failed_tests'

a7393cbd ctest_test: Report which tests failed even when QUIET is used
This commit is contained in:
Brad King 2016-01-14 11:42:26 -05:00 committed by CMake Topic Stage
commit f3fd50ad4b

View File

@ -609,11 +609,11 @@ int cmCTestTestHandler::ProcessHandler()
if ( ftit->Status != cmCTestTestHandler::COMPLETED ) if ( ftit->Status != cmCTestTestHandler::COMPLETED )
{ {
ofs << ftit->TestCount << ":" << ftit->Name << std::endl; 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->TestCount << " - "
<< ftit->Name << " (" << ftit->Name << " ("
<< this->GetTestStatus(ftit->Status) << ")" << this->GetTestStatus(ftit->Status) << ")"
<< std::endl, this->Quiet); << std::endl);
} }
} }
} }