[Cmake-commits] [cmake-commits] zach.mullen committed cmCTestMultiProcessHandler.cxx 1.34 1.35

cmake-commits at cmake.org cmake-commits at cmake.org
Mon Nov 9 16:07:49 EST 2009


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

Modified Files:
	cmCTestMultiProcessHandler.cxx 
Log Message:
Fixed a bug where it was possible for a test to be started twice if a lower-indexed test depended on it.


Index: cmCTestMultiProcessHandler.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/CTest/cmCTestMultiProcessHandler.cxx,v
retrieving revision 1.34
retrieving revision 1.35
diff -C 2 -d -r1.34 -r1.35
*** cmCTestMultiProcessHandler.cxx	5 Nov 2009 16:37:43 -0000	1.34
--- cmCTestMultiProcessHandler.cxx	9 Nov 2009 21:07:47 -0000	1.35
***************
*** 197,200 ****
--- 197,205 ----
          test != tests.end(); ++test)
        {
+       //in case this test has already been started due to dependency
+       if(this->TestRunningMap[*test] || this->TestFinishMap[*test])
+         {
+         continue;
+         }
        size_t processors = GetProcessorsUsed(*test);
        if(processors > numToStart)



More information about the Cmake-commits mailing list