summaryrefslogtreecommitdiffstats
path: root/Source/CTest/cmCTestMultiProcessHandler.h
diff options
context:
space:
mode:
authorNils Gladitz <nilsgladitz@gmail.com>2013-12-20 21:44:37 (GMT)
committerNils Gladitz <nilsgladitz@gmail.com>2013-12-23 14:31:15 (GMT)
commit7f0d4aff24cbb7ea9336a484f6ad8f73a63ac77f (patch)
tree9b14d2960bf92f1de54286f5e85e0a86369c8c5d /Source/CTest/cmCTestMultiProcessHandler.h
parent6820882be57942403fa7eaf706a0169fd2816fc2 (diff)
downloadCMake-7f0d4aff24cbb7ea9336a484f6ad8f73a63ac77f.zip
CMake-7f0d4aff24cbb7ea9336a484f6ad8f73a63ac77f.tar.gz
CMake-7f0d4aff24cbb7ea9336a484f6ad8f73a63ac77f.tar.bz2
CTest: fix regressions introduced by the ctest-fix-run-serial topic
The first regression resulted in endless looping due to unrun test dependencies. The second regression prioritized all tests with dependencies in serial test runs.
Diffstat (limited to 'Source/CTest/cmCTestMultiProcessHandler.h')
-rw-r--r--Source/CTest/cmCTestMultiProcessHandler.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/Source/CTest/cmCTestMultiProcessHandler.h b/Source/CTest/cmCTestMultiProcessHandler.h
index 439a8f3..1b53ec7 100644
--- a/Source/CTest/cmCTestMultiProcessHandler.h
+++ b/Source/CTest/cmCTestMultiProcessHandler.h
@@ -72,6 +72,12 @@ protected:
int SearchByName(std::string name);
void CreateTestCostList();
+
+ void GetAllTestDependencies(int test, TestList& dependencies);
+ void CreateSerialTestCostList();
+
+ void CreateParallelTestCostList();
+
// Removes the checkpoint file
void MarkFinished();
void EraseTest(int index);