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:
parent
05ab4b7c66
commit
a7393cbd40
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user