Jelajahi Sumber

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.
Zack Galbreath 9 tahun lalu
induk
melakukan
a7393cbd40
1 mengubah file dengan 2 tambahan dan 2 penghapusan
  1. 2 2
      Source/CTest/cmCTestTestHandler.cxx

+ 2 - 2
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);
           }
         }
       }