[Cmake-commits] [cmake-commits] zach.mullen committed cmCTestMultiProcessHandler.cxx 1.28 1.29 cmCTestRunTest.cxx 1.25 1.26 cmCTestRunTest.h 1.12 1.13

cmake-commits at cmake.org cmake-commits at cmake.org
Mon Oct 5 10:20:54 EDT 2009


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

Modified Files:
	cmCTestMultiProcessHandler.cxx cmCTestRunTest.cxx 
	cmCTestRunTest.h 
Log Message:
Match width of ctest "Start xx: " line to line up with the end test line


Index: cmCTestMultiProcessHandler.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/CTest/cmCTestMultiProcessHandler.cxx,v
retrieving revision 1.28
retrieving revision 1.29
diff -C 2 -d -r1.28 -r1.29
*** cmCTestMultiProcessHandler.cxx	2 Oct 2009 19:30:01 -0000	1.28
--- cmCTestMultiProcessHandler.cxx	5 Oct 2009 14:20:47 -0000	1.29
***************
*** 82,86 ****
    testRun->SetIndex(test);
    testRun->SetTestProperties(this->Properties[test]);
!   if(testRun->StartTest())
      {
      this->RunningTests.insert(testRun);
--- 82,86 ----
    testRun->SetIndex(test);
    testRun->SetTestProperties(this->Properties[test]);
!   if(testRun->StartTest(this->Total))
      {
      this->RunningTests.insert(testRun);

Index: cmCTestRunTest.h
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/CTest/cmCTestRunTest.h,v
retrieving revision 1.12
retrieving revision 1.13
diff -C 2 -d -r1.12 -r1.13
*** cmCTestRunTest.h	28 Sep 2009 15:43:02 -0000	1.12
--- cmCTestRunTest.h	5 Oct 2009 14:20:52 -0000	1.13
***************
*** 47,51 ****
  
    //launch the test process, return whether it started correctly
!   bool StartTest();
    //capture and report the test results
    bool EndTest(size_t completed, size_t total, bool started);
--- 47,51 ----
  
    //launch the test process, return whether it started correctly
!   bool StartTest(size_t total);
    //capture and report the test results
    bool EndTest(size_t completed, size_t total, bool started);

Index: cmCTestRunTest.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/CTest/cmCTestRunTest.cxx,v
retrieving revision 1.25
retrieving revision 1.26
diff -C 2 -d -r1.25 -r1.26
*** cmCTestRunTest.cxx	29 Sep 2009 18:31:58 -0000	1.25
--- cmCTestRunTest.cxx	5 Oct 2009 14:20:48 -0000	1.26
***************
*** 298,304 ****
  //----------------------------------------------------------------------
  // Starts the execution of a test.  Returns once it has started
! bool cmCTestRunTest::StartTest()
  {
!   cmCTestLog(this->CTest, HANDLER_OUTPUT, "        Start "
      << this->TestProperties->Index << ": "
      << this->TestProperties->Name << std::endl);
--- 298,306 ----
  //----------------------------------------------------------------------
  // Starts the execution of a test.  Returns once it has started
! bool cmCTestRunTest::StartTest(size_t total)
  {
!   cmCTestLog(this->CTest, HANDLER_OUTPUT, std::setw(2*getNumWidth(total) + 8)
!     << "Start "
!     << std::setw(getNumWidth(total))
      << this->TestProperties->Index << ": "
      << this->TestProperties->Name << std::endl);



More information about the Cmake-commits mailing list