diff options
author | Andy Cedilnik <andy.cedilnik@kitware.com> | 2003-02-11 02:52:01 (GMT) |
---|---|---|
committer | Andy Cedilnik <andy.cedilnik@kitware.com> | 2003-02-11 02:52:01 (GMT) |
commit | 2756c05b60ef7bc230606813b0155e0e7f1a38df (patch) | |
tree | 6cfb0b4cf656da320b66e50791dc36a8e8c4cba5 /Source/cmCTest.h | |
parent | b04e32c642e4cdda0352a3fea7159cdadeb0f846 (diff) | |
download | CMake-2756c05b60ef7bc230606813b0155e0e7f1a38df.zip CMake-2756c05b60ef7bc230606813b0155e0e7f1a38df.tar.gz CMake-2756c05b60ef7bc230606813b0155e0e7f1a38df.tar.bz2 |
Fix date issues with different models
Diffstat (limited to 'Source/cmCTest.h')
-rw-r--r-- | Source/cmCTest.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/Source/cmCTest.h b/Source/cmCTest.h index 520b13b..f23f306 100644 --- a/Source/cmCTest.h +++ b/Source/cmCTest.h @@ -15,6 +15,9 @@ =========================================================================*/ +#ifndef cmCTest_h +#define cmCTest_h + #include "cmStandardIncludes.h" @@ -92,6 +95,15 @@ public: bool SetTest(const char*); /** + * Set the cmake test mode (experimental, nightly, continuous). + */ + void SetTestModel(int mode) + { + m_TestModel = mode; + } + std::string GetTestModelString(); + + /** * constructor */ cmCTest(); @@ -108,6 +120,12 @@ public: bool m_DartMode; bool m_ShowOnly; + enum { + EXPERIMENTAL, + NIGHTLY, + CONTINUOUS + }; + private: enum { FIRST_TEST = 0, @@ -185,6 +203,8 @@ private: std::string m_StartTest; std::string m_EndTest; + bool m_TestModel; + /** * Generate the Dart compatible output */ @@ -197,3 +217,4 @@ private: std::string MakeXMLSafe(const std::string&); }; +#endif |