[Cmake-commits] [cmake-commits] hoffman committed cmCTestTestHandler.cxx 1.79 1.80

cmake-commits at cmake.org cmake-commits at cmake.org
Mon Sep 22 14:04:15 EDT 2008


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

Modified Files:
	cmCTestTestHandler.cxx 
Log Message:
ENH: add max width option to ctest ouptut


Index: cmCTestTestHandler.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/CTest/cmCTestTestHandler.cxx,v
retrieving revision 1.79
retrieving revision 1.80
diff -C 2 -d -r1.79 -r1.80
*** cmCTestTestHandler.cxx	15 Sep 2008 21:53:28 -0000	1.79
--- cmCTestTestHandler.cxx	22 Sep 2008 18:04:13 -0000	1.80
***************
*** 645,650 ****
      }
    cmCTestLog(this->CTest, HANDLER_OUTPUT, " ");
!   std::string outname = testname;
!   outname.resize(30, ' ');
    *this->LogFile << cnt << "/" << tmsize << " Testing: " << testname
                   << std::endl;
--- 645,651 ----
      }
    cmCTestLog(this->CTest, HANDLER_OUTPUT, " ");
!   const int maxTestNameWidth = this->CTest->GetMaxTestNameWidth();
!   std::string outname = testname + " ";
!   outname.resize(maxTestNameWidth, '.');
    *this->LogFile << cnt << "/" << tmsize << " Testing: " << testname
                   << std::endl;



More information about the Cmake-commits mailing list