BUG: keep output

This commit is contained in:
Bill Hoffman 2004-01-29 10:29:01 -05:00
parent b9f2bd103b
commit 48dc13a649
1 changed files with 1 additions and 1 deletions

View File

@ -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";