Fix ctest output alignment for cases where total tests run is not the same width as max test index.

This commit is contained in:
Zach Mullen 2009-10-15 12:02:22 -04:00
parent f1e6726668
commit 727fa7bcb6
1 changed files with 1 additions and 1 deletions
Source/CTest

View File

@ -301,7 +301,7 @@ bool cmCTestRunTest::StartTest(size_t total)
{ {
cmCTestLog(this->CTest, HANDLER_OUTPUT, std::setw(2*getNumWidth(total) + 8) cmCTestLog(this->CTest, HANDLER_OUTPUT, std::setw(2*getNumWidth(total) + 8)
<< "Start " << "Start "
<< std::setw(getNumWidth(total)) << std::setw(getNumWidth(this->TestHandler->GetMaxIndex()))
<< this->TestProperties->Index << ": " << this->TestProperties->Index << ": "
<< this->TestProperties->Name << std::endl); << this->TestProperties->Name << std::endl);
this->ComputeArguments(); this->ComputeArguments();