diff options
author | Zach Mullen <zach.mullen@kitware.com> | 2009-09-07 14:26:17 (GMT) |
---|---|---|
committer | Zach Mullen <zach.mullen@kitware.com> | 2009-09-07 14:26:17 (GMT) |
commit | 5fb958fde950f8a8f9b1629399f0457c46224640 (patch) | |
tree | ce1e1dd09388f892b6cc0135240c292519c148ab /Source/CTest/cmCTestRunTest.cxx | |
parent | 4e16813f63bae65dd3eeec0a326e9a4926aff1c5 (diff) | |
download | CMake-5fb958fde950f8a8f9b1629399f0457c46224640.zip CMake-5fb958fde950f8a8f9b1629399f0457c46224640.tar.gz CMake-5fb958fde950f8a8f9b1629399f0457c46224640.tar.bz2 |
ENH: Added ctest test options PROCESSORS and RUN_SERIAL. These allow specification of resource allocation for given tests running with the ctest -j N option. RUN_SERIAL ensures that a given test does not run in parallel with any other test. Also forced appending of "..." to the longest test name in ctest.
Diffstat (limited to 'Source/CTest/cmCTestRunTest.cxx')
-rw-r--r-- | Source/CTest/cmCTestRunTest.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/CTest/cmCTestRunTest.cxx b/Source/CTest/cmCTestRunTest.cxx index d471c6c..0e8d404 100644 --- a/Source/CTest/cmCTestRunTest.cxx +++ b/Source/CTest/cmCTestRunTest.cxx @@ -476,7 +476,7 @@ void cmCTestRunTest::WriteLogOutputTop(size_t completed, size_t total) cmCTestLog(this->CTest, HANDLER_OUTPUT, " "); const int maxTestNameWidth = this->CTest->GetMaxTestNameWidth(); std::string outname = this->TestProperties->Name + " "; - outname.resize(maxTestNameWidth, '.'); + outname.resize(maxTestNameWidth + 4, '.'); *this->TestHandler->LogFile << this->TestProperties->Index << "/" << this->TestHandler->TotalNumberOfTests << " Testing: " |