[Cmake-commits] [cmake-commits] zach.mullen committed cmCTestTestHandler.cxx 1.110 1.111

cmake-commits at cmake.org cmake-commits at cmake.org
Mon Aug 31 10:28:43 EDT 2009


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

Modified Files:
	cmCTestTestHandler.cxx 
Log Message:
Fixed Dart time recording for ctest


Index: cmCTestTestHandler.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/CTest/cmCTestTestHandler.cxx,v
retrieving revision 1.110
retrieving revision 1.111
diff -C 2 -d -r1.110 -r1.111
*** cmCTestTestHandler.cxx	31 Aug 2009 13:50:35 -0000	1.110
--- cmCTestTestHandler.cxx	31 Aug 2009 14:28:39 -0000	1.111
***************
*** 992,995 ****
--- 992,998 ----
  {
    this->ComputeTestList();
+   this->StartTest = this->CTest->CurrentTime();
+   this->StartTestTime = static_cast<unsigned int>(cmSystemTools::GetTime());
+   double elapsed_time_start = cmSystemTools::GetTime();
  
    cmCTestMultiProcessHandler parallel;
***************
*** 1042,1045 ****
--- 1045,1051 ----
      parallel.RunTests();
      }
+   this->EndTest = this->CTest->CurrentTime();
+   this->EndTestTime = static_cast<unsigned int>(cmSystemTools::GetTime());
+   this->ElapsedTestingTime = cmSystemTools::GetTime() - elapsed_time_start;
    *this->LogFile << "End testing: "
       << this->CTest->CurrentTime() << std::endl;



More information about the Cmake-commits mailing list