diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2008-07-04 14:28:22 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2008-07-04 14:28:22 (GMT) |
commit | 5292b3edefa0a6758a8093d78dea4f80b5332de0 (patch) | |
tree | 856ff45cea243e2507be43c4c5fa6c0c537cf647 /Source/CTest/cmCTestMultiProcessHandler.h | |
parent | 112d377fbb59f95e23c936091e8c3085bfb62f83 (diff) | |
download | CMake-5292b3edefa0a6758a8093d78dea4f80b5332de0.zip CMake-5292b3edefa0a6758a8093d78dea4f80b5332de0.tar.gz CMake-5292b3edefa0a6758a8093d78dea4f80b5332de0.tar.bz2 |
COMP: try to fix sgi compiler problem with set and also shorten symbol lengths for set class
Diffstat (limited to 'Source/CTest/cmCTestMultiProcessHandler.h')
-rw-r--r-- | Source/CTest/cmCTestMultiProcessHandler.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Source/CTest/cmCTestMultiProcessHandler.h b/Source/CTest/cmCTestMultiProcessHandler.h index 9f7976d..5a4c8db 100644 --- a/Source/CTest/cmCTestMultiProcessHandler.h +++ b/Source/CTest/cmCTestMultiProcessHandler.h @@ -33,9 +33,11 @@ class cmProcess; class cmCTestMultiProcessHandler { public: + struct TestSet : public std::set<int> {}; + struct TestMap : public std::map<int, TestSet> {}; cmCTestMultiProcessHandler(); // Set the tests - void SetTests(std::map<int, std::set<int> >& tests, + void SetTests(TestMap& tests, std::map<int, cmStdString>& testNames); // Set the max number of tests that can be run at the same time. void SetParallelLevel(size_t); @@ -66,7 +68,7 @@ protected: // check all running processes for output and exit case bool CheckOutput(); // map from test number to set of depend tests - std::map<int, std::set<int> > Tests; + TestMap Tests; std::map<int, cmStdString> TestNames; std::map<int, bool> TestRunningMap; std::map<int, bool> TestFinishMap; |