diff options
author | Brad King <brad.king@kitware.com> | 2009-11-10 14:03:39 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2009-11-10 14:03:39 (GMT) |
commit | 29ebc97c38a291988e1e16edcbb000bfb879825b (patch) | |
tree | fc8fbd3e0455ce467a3455bf05c6ced301230cdc /Source/CTest/cmCTestMultiProcessHandler.cxx | |
parent | e8f50e90e983b358ff8a729015db3608a51b6f83 (diff) | |
download | CMake-29ebc97c38a291988e1e16edcbb000bfb879825b.zip CMake-29ebc97c38a291988e1e16edcbb000bfb879825b.tar.gz CMake-29ebc97c38a291988e1e16edcbb000bfb879825b.tar.bz2 |
CMake 2.8.0-rc6
Diffstat (limited to 'Source/CTest/cmCTestMultiProcessHandler.cxx')
-rw-r--r-- | Source/CTest/cmCTestMultiProcessHandler.cxx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/CTest/cmCTestMultiProcessHandler.cxx b/Source/CTest/cmCTestMultiProcessHandler.cxx index 4f3a605..80390b4 100644 --- a/Source/CTest/cmCTestMultiProcessHandler.cxx +++ b/Source/CTest/cmCTestMultiProcessHandler.cxx @@ -194,6 +194,11 @@ void cmCTestMultiProcessHandler::StartNextTests() for(TestSet::iterator test = tests.begin(); 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) { |