summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorZach Mullen <zach.mullen@kitware.com>2009-10-15 16:02:22 (GMT)
committerZach Mullen <zach.mullen@kitware.com>2009-10-15 16:02:22 (GMT)
commit727fa7bcb65e21cb84f358efa0bea4bcca0286a8 (patch)
tree19033253cd7dbb5791705984df6d947631dd95c9 /Source
parentf1e6726668d76752e9d0d84e77ab81f702b39ea6 (diff)
downloadCMake-727fa7bcb65e21cb84f358efa0bea4bcca0286a8.zip
CMake-727fa7bcb65e21cb84f358efa0bea4bcca0286a8.tar.gz
CMake-727fa7bcb65e21cb84f358efa0bea4bcca0286a8.tar.bz2
Fix ctest output alignment for cases where total tests run is not the same width as max test index.
Diffstat (limited to 'Source')
-rw-r--r--Source/CTest/cmCTestRunTest.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/CTest/cmCTestRunTest.cxx b/Source/CTest/cmCTestRunTest.cxx
index 6d5943d..3e4757b 100644
--- a/Source/CTest/cmCTestRunTest.cxx
+++ b/Source/CTest/cmCTestRunTest.cxx
@@ -301,7 +301,7 @@ bool cmCTestRunTest::StartTest(size_t total)
{
cmCTestLog(this->CTest, HANDLER_OUTPUT, std::setw(2*getNumWidth(total) + 8)
<< "Start "
- << std::setw(getNumWidth(total))
+ << std::setw(getNumWidth(this->TestHandler->GetMaxIndex()))
<< this->TestProperties->Index << ": "
<< this->TestProperties->Name << std::endl);
this->ComputeArguments();