From 727fa7bcb65e21cb84f358efa0bea4bcca0286a8 Mon Sep 17 00:00:00 2001 From: Zach Mullen Date: Thu, 15 Oct 2009 12:02:22 -0400 Subject: Fix ctest output alignment for cases where total tests run is not the same width as max test index. --- Source/CTest/cmCTestRunTest.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); -- cgit v0.12