From a7393cbd40b4387d352413c48cec36b9d3cd0b51 Mon Sep 17 00:00:00 2001 From: Zack Galbreath Date: Wed, 13 Jan 2016 09:49:40 -0500 Subject: [PATCH] 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. --- Source/CTest/cmCTestTestHandler.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/CTest/cmCTestTestHandler.cxx b/Source/CTest/cmCTestTestHandler.cxx index a8f983f6f..b6a4819a0 100644 --- a/Source/CTest/cmCTestTestHandler.cxx +++ b/Source/CTest/cmCTestTestHandler.cxx @@ -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); } } }