[Cmake-commits] [cmake-commits] zach.mullen committed cmCTestRunTest.cxx 1.27 1.28

cmake-commits at cmake.org cmake-commits at cmake.org
Thu Oct 15 12:02:26 EDT 2009


Update of /cvsroot/CMake/CMake/Source/CTest
In directory public:/mounts/ram/cvs-serv31747

Modified Files:
	cmCTestRunTest.cxx 
Log Message:
Fix ctest output alignment for cases where total tests run is not the same width as max test index.


Index: cmCTestRunTest.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/CTest/cmCTestRunTest.cxx,v
retrieving revision 1.27
retrieving revision 1.28
diff -C 2 -d -r1.27 -r1.28
*** cmCTestRunTest.cxx	13 Oct 2009 20:39:48 -0000	1.27
--- cmCTestRunTest.cxx	15 Oct 2009 16:02:22 -0000	1.28
***************
*** 302,306 ****
    cmCTestLog(this->CTest, HANDLER_OUTPUT, std::setw(2*getNumWidth(total) + 8)
      << "Start "
!     << std::setw(getNumWidth(total))
      << this->TestProperties->Index << ": "
      << this->TestProperties->Name << std::endl);
--- 302,306 ----
    cmCTestLog(this->CTest, HANDLER_OUTPUT, std::setw(2*getNumWidth(total) + 8)
      << "Start "
!     << std::setw(getNumWidth(this->TestHandler->GetMaxIndex()))
      << this->TestProperties->Index << ": "
      << this->TestProperties->Name << std::endl);



More information about the Cmake-commits mailing list