summaryrefslogtreecommitdiffstats
path: root/Source/CTest/cmCTestRunTest.cxx
diff options
context:
space:
mode:
authorZach Mullen <zach.mullen@kitware.com>2009-10-05 14:20:52 (GMT)
committerZach Mullen <zach.mullen@kitware.com>2009-10-05 14:20:52 (GMT)
commitb304186bc574bab921c2da6a66d3e1fcf2f515ee (patch)
tree40b98ea91abe8e68ed16b4ce20d3fcb9b260c5d9 /Source/CTest/cmCTestRunTest.cxx
parent940733997ae841eec7424a11a4356775060a460b (diff)
downloadCMake-b304186bc574bab921c2da6a66d3e1fcf2f515ee.zip
CMake-b304186bc574bab921c2da6a66d3e1fcf2f515ee.tar.gz
CMake-b304186bc574bab921c2da6a66d3e1fcf2f515ee.tar.bz2
Match width of ctest "Start xx: " line to line up with the end test line
Diffstat (limited to 'Source/CTest/cmCTestRunTest.cxx')
-rw-r--r--Source/CTest/cmCTestRunTest.cxx6
1 files changed, 4 insertions, 2 deletions
diff --git a/Source/CTest/cmCTestRunTest.cxx b/Source/CTest/cmCTestRunTest.cxx
index ffc257a..982beb3 100644
--- a/Source/CTest/cmCTestRunTest.cxx
+++ b/Source/CTest/cmCTestRunTest.cxx
@@ -297,9 +297,11 @@ void cmCTestRunTest::MemCheckPostProcess()
//----------------------------------------------------------------------
// Starts the execution of a test. Returns once it has started
-bool cmCTestRunTest::StartTest()
+bool cmCTestRunTest::StartTest(size_t total)
{
- cmCTestLog(this->CTest, HANDLER_OUTPUT, " Start "
+ cmCTestLog(this->CTest, HANDLER_OUTPUT, std::setw(2*getNumWidth(total) + 8)
+ << "Start "
+ << std::setw(getNumWidth(total))
<< this->TestProperties->Index << ": "
<< this->TestProperties->Name << std::endl);
this->ComputeArguments();