diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2008-07-03 13:31:33 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2008-07-03 13:31:33 (GMT) |
commit | bb7b27e417b72d0387af5393b81ed35deab52c4b (patch) | |
tree | 42d2efd6a2131935eefbe540cd15e8bcb0ed2ac7 /Source/cmCTest.h | |
parent | ea71721b805708f82898c32e007aa3e29e6f458f (diff) | |
download | CMake-bb7b27e417b72d0387af5393b81ed35deab52c4b.zip CMake-bb7b27e417b72d0387af5393b81ed35deab52c4b.tar.gz CMake-bb7b27e417b72d0387af5393b81ed35deab52c4b.tar.bz2 |
ENH: add initial ctest -j feature
Diffstat (limited to 'Source/cmCTest.h')
-rw-r--r-- | Source/cmCTest.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/Source/cmCTest.h b/Source/cmCTest.h index 7dfaa92..01d3b42 100644 --- a/Source/cmCTest.h +++ b/Source/cmCTest.h @@ -95,6 +95,18 @@ public: std::string const& GetConfigType(); double GetTimeOut() { return this->TimeOut; } void SetTimeOut(double t) { this->TimeOut = t; } + // how many test to run at the same time + int GetParallelLevel() { return this->ParallelLevel; } + void SetParallelLevel(int t) { this->ParallelLevel = t; } + + bool GetParallelSubprocess() { return this->ParallelSubprocess; } + void SetParallelSubprocess() { this->ParallelSubprocess = true; } + + void SetParallelSubprocessId(int id) { this->ParallelSubprocessId = id;} + int GetParallelSubprocessId() { return this->ParallelSubprocessId;} + const char* GetParallelCacheFile() + { return this->ParallelCacheFile.c_str();} + void SetParallelCacheFile(const char* c) { this->ParallelCacheFile = c; } /** * Check if CTest file exists @@ -310,6 +322,8 @@ public: void SetSpecificTrack(const char* track); const char* GetSpecificTrack(); + bool GetVerbose() { return this->Verbose;} + bool GetExtraVerbose() { return this->ExtraVerbose;} private: std::string ConfigType; bool Verbose; @@ -359,6 +373,10 @@ private: double TimeOut; + std::string ParallelCacheFile; + int ParallelLevel; + int ParallelSubprocessId; + bool ParallelSubprocess; int CompatibilityMode; // information for the --build-and-test options |