diff options
author | Ken Martin <ken.martin@kitware.com> | 2004-09-07 14:37:39 (GMT) |
---|---|---|
committer | Ken Martin <ken.martin@kitware.com> | 2004-09-07 14:37:39 (GMT) |
commit | 8a2beddad462eb4fb8baa8569b4c2bb51039a517 (patch) | |
tree | 7c9020a4fea0f24d039a2810aec7b45c89195193 /Source/cmCTest.h | |
parent | 05d985c08277350c3a1ca5ea6023ac397cf9bf1b (diff) | |
download | CMake-8a2beddad462eb4fb8baa8569b4c2bb51039a517.zip CMake-8a2beddad462eb4fb8baa8569b4c2bb51039a517.tar.gz CMake-8a2beddad462eb4fb8baa8569b4c2bb51039a517.tar.bz2 |
more cleanup
Diffstat (limited to 'Source/cmCTest.h')
-rw-r--r-- | Source/cmCTest.h | 33 |
1 files changed, 5 insertions, 28 deletions
diff --git a/Source/cmCTest.h b/Source/cmCTest.h index 07d6bfb..5ec5b45 100644 --- a/Source/cmCTest.h +++ b/Source/cmCTest.h @@ -23,6 +23,7 @@ #include "cmListFileCache.h" class cmMakefile; +class cmCTestBuildHandler; class cmCTestScriptHandler; class cmCTestUpdateHandler; class cmCTestConfigureHandler; @@ -67,11 +68,6 @@ public: bool GetTomorrowTag() { return m_TomorrowTag; }; /** - * Try to build the project - */ - int BuildDirectory(); - - /** * Try to run tests of the project */ int TestDirectory(bool memcheck); @@ -189,8 +185,12 @@ public: int* retVal, const char* dir, bool verbose, int timeout, std::ofstream& ofs); + static void PopulateCustomVector(cmMakefile* mf, const char* definition, + tm_VectorOfStrings& vec); + private: // these are helper classes + cmCTestBuildHandler *BuildHandler; cmCTestScriptHandler *ScriptHandler; cmCTestUpdateHandler *UpdateHandler; cmCTestConfigureHandler *ConfigureHandler; @@ -277,18 +277,6 @@ private: int m_TestCount; }; - struct cmCTestBuildErrorWarning - { - bool m_Error; - int m_LogLine; - std::string m_Text; - std::string m_SourceFile; - std::string m_SourceFileTail; - int m_LineNumber; - std::string m_PreContext; - std::string m_PostContext; - }; - struct cmCTestTestProperties { cmStdString m_Name; @@ -333,8 +321,6 @@ private: std::string m_CurrentTag; bool m_TomorrowTag; - std::string m_StartBuild; - std::string m_EndBuild; std::string m_StartTest; std::string m_EndTest; double m_ElapsedTestingTime; @@ -374,12 +360,6 @@ private: int ReadCustomConfigurationFileTree(const char* dir); - void PopulateCustomVector(cmMakefile* mf, const char* definition, tm_VectorOfStrings& vec); - - tm_VectorOfStrings m_CustomErrorMatches; - tm_VectorOfStrings m_CustomErrorExceptions; - tm_VectorOfStrings m_CustomWarningMatches; - tm_VectorOfStrings m_CustomWarningExceptions; tm_VectorOfStrings m_CustomTestsIgnore; tm_VectorOfStrings m_CustomMemCheckIgnore; @@ -409,9 +389,6 @@ private: */ void GenerateDartTestOutput(std::ostream& os); void GenerateDartMemCheckOutput(std::ostream& os); - void GenerateDartBuildOutput(std::ostream& os, - std::vector<cmCTestBuildErrorWarning>, - double elapsed_time); //! Run command specialized for tests. Returns process status and retVal is // return value or exception. |