Reformat ctest -N output. Removed the "Start processing tests" message as well.

This commit is contained in:
Zach Mullen 2009-09-24 09:49:46 -04:00
parent f10929ae7c
commit 65c418e56f
2 changed files with 10 additions and 7 deletions

View File

@ -348,21 +348,24 @@ void cmCTestMultiProcessHandler::PrintTestList()
testRun.SetTestProperties(&p); testRun.SetTestProperties(&p);
testRun.ComputeArguments(); //logs the command in verbose mode testRun.ComputeArguments(); //logs the command in verbose mode
cmCTestLog(this->CTest, HANDLER_OUTPUT, std::setw(3)
<< count << "/");
cmCTestLog(this->CTest, HANDLER_OUTPUT, std::setw(3)
<< this->Total << " ");
if (this->TestHandler->MemCheck) if (this->TestHandler->MemCheck)
{ {
cmCTestLog(this->CTest, HANDLER_OUTPUT, " Memory Check"); cmCTestLog(this->CTest, HANDLER_OUTPUT, " Memory Check");
} }
else else
{ {
cmCTestLog(this->CTest, HANDLER_OUTPUT, "Testing"); cmCTestLog(this->CTest, HANDLER_OUTPUT, " Test");
} }
cmOStringStream indexStr;
indexStr << " #" << p.Index << ":";
cmCTestLog(this->CTest, HANDLER_OUTPUT,
std::setw(3 + getNumWidth(this->TestHandler->GetMaxIndex()))
<< indexStr.str().c_str());
cmCTestLog(this->CTest, HANDLER_OUTPUT, " "); cmCTestLog(this->CTest, HANDLER_OUTPUT, " ");
cmCTestLog(this->CTest, HANDLER_OUTPUT, p.Name.c_str() << std::endl); cmCTestLog(this->CTest, HANDLER_OUTPUT, p.Name.c_str() << std::endl);
} }
cmCTestLog(this->CTest, HANDLER_OUTPUT, std::endl << "Total Tests: "
<< this->Total << std::endl);
} }
//--------------------------------------------------------- //---------------------------------------------------------

View File

@ -797,7 +797,7 @@ int cmCTest::ProcessTests()
bool notest = true; bool notest = true;
int update_count = 0; int update_count = 0;
cmCTestLog(this, OUTPUT, "Start processing tests" << std::endl); //cmCTestLog(this, OUTPUT, "Start processing tests" << std::endl);
for(Part p = PartStart; notest && p != PartCount; p = Part(p+1)) for(Part p = PartStart; notest && p != PartCount; p = Part(p+1))
{ {