diff options
author | Andy Cedilnik <andy.cedilnik@kitware.com> | 2005-06-23 17:04:18 (GMT) |
---|---|---|
committer | Andy Cedilnik <andy.cedilnik@kitware.com> | 2005-06-23 17:04:18 (GMT) |
commit | 1b578d3180ce60976e4cbe928fce988acfd0da39 (patch) | |
tree | cdefbf878667d466318aeabfa77cc7625cb4777e /Source/cmCTest.h | |
parent | 5c68b61a9caab3f89031155d129b9498d840e502 (diff) | |
download | CMake-1b578d3180ce60976e4cbe928fce988acfd0da39.zip CMake-1b578d3180ce60976e4cbe928fce988acfd0da39.tar.gz CMake-1b578d3180ce60976e4cbe928fce988acfd0da39.tar.bz2 |
ENH: Several improvements with the way things are handled. Also, support multiple submited files
Diffstat (limited to 'Source/cmCTest.h')
-rw-r--r-- | Source/cmCTest.h | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/Source/cmCTest.h b/Source/cmCTest.h index bd7d74b..3cc3fe4 100644 --- a/Source/cmCTest.h +++ b/Source/cmCTest.h @@ -49,6 +49,7 @@ class cmCTest { public: typedef std::vector<cmStdString> tm_VectorOfStrings; + typedef std::set<cmStdString> tm_SetOfStrings; ///! Process Command line arguments int Run(std::vector<std::string>const&, std::string* output = 0); @@ -96,7 +97,7 @@ public: * Check if CTest file exists */ bool CTestFileExists(const std::string& filename); - bool AddIfExists(tm_VectorOfStrings& files, const char* file); + bool AddIfExists(tm_SetOfStrings& files, const char* file); /** * Set the cmake test @@ -231,6 +232,7 @@ public: * Get the handler object */ cmCTestGenericHandler* GetHandler(const char* handler); + cmCTestGenericHandler* GetInitializedHandler(const char* handler); /* * Set the CTest variable from CMake variable @@ -267,6 +269,13 @@ public: //! Add log to the output void Log(int logType, const char* file, int line, const char* msg); + //! Get the version of dart server + int GetDartVersion() { return m_DartVersion; } + + //! Add file to be submitted + void AddSubmitFile(const char* name); + tm_SetOfStrings* GetSubmitFiles() { return &m_SubmitFiles; } + private: std::string m_ConfigType; bool m_Verbose; @@ -350,6 +359,10 @@ private: bool m_ShowLineNumbers; bool m_Quiet; + int m_DartVersion; + + std::set<cmStdString> m_SubmitFiles; + cmGeneratedFileStream* m_OutputLogFile; int m_OutputLogFileLastTag; |