diff options
author | Zach Mullen <zach.mullen@kitware.com> | 2009-08-27 14:37:30 (GMT) |
---|---|---|
committer | Zach Mullen <zach.mullen@kitware.com> | 2009-08-27 14:37:30 (GMT) |
commit | 177edc5ed1bed7306a122129dfcaf13d898f83ef (patch) | |
tree | 43db43d2af66aec0f021ad5e8e7d9067d46088ce /Source/CTest/cmCTestMultiProcessHandler.h | |
parent | fdc0d9777cf548b44d8cfa43502efb26a6247e9b (diff) | |
download | CMake-177edc5ed1bed7306a122129dfcaf13d898f83ef.zip CMake-177edc5ed1bed7306a122129dfcaf13d898f83ef.tar.gz CMake-177edc5ed1bed7306a122129dfcaf13d898f83ef.tar.bz2 |
Fixed ctest -N segfault issue. Further refactored ctest. Enabled failover for ctest
Diffstat (limited to 'Source/CTest/cmCTestMultiProcessHandler.h')
-rw-r--r-- | Source/CTest/cmCTestMultiProcessHandler.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/Source/CTest/cmCTestMultiProcessHandler.h b/Source/CTest/cmCTestMultiProcessHandler.h index 413bff2..3a47a36 100644 --- a/Source/CTest/cmCTestMultiProcessHandler.h +++ b/Source/CTest/cmCTestMultiProcessHandler.h @@ -68,10 +68,16 @@ protected: void StartNextTests(); void StartTestProcess(int test); bool StartTest(int test); - //void EndTest(cmProcess*); + // Mark the checkpoint for the given test + void WriteCheckpoint(int index); + // Removes the checkpoint file + void MarkFinished(); // Return true if there are still tests running // check all running processes for output and exit case bool CheckOutput(); + void RemoveTest(int index); + //Check if we need to resume an interrupted test set + void CheckResume(); // map from test number to set of depend tests TestMap Tests; //list of test properties (indices concurrent to the test map) @@ -79,8 +85,6 @@ protected: std::map<int, bool> TestRunningMap; std::map<int, bool> TestFinishMap; std::map<int, cmStdString> TestOutput; - //std::string CTestCommand; - //std::string CTestCacheFile; std::vector<cmStdString>* Passed; std::vector<cmStdString>* Failed; std::vector<cmCTestTestHandler::cmCTestTestResult>* TestResults; |