Browse Source

BUG: keep output

Bill Hoffman 22 years ago
parent
commit
48dc13a649
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Source/cmCTest.cxx

+ 1 - 1
Source/cmCTest.cxx

@@ -4222,7 +4222,7 @@ int cmCTest::RunCMakeAndTest(std::string* outstring)
   out << "Running make command: " << makeCommand.c_str() << "\n";
   retVal = 0;
   std::string output;
-  if (!cmSystemTools::RunSingleCommand(makeCommand.c_str(), (m_Verbose?&output:0), &retVal, 0, false))
+  if (!cmSystemTools::RunSingleCommand(makeCommand.c_str(), &output, &retVal, 0, false))
     {
     out << "Error: " << makeCommand.c_str() <<  "  execution failed\n";
     out << output.c_str() << "\n";