diff options
author | Andy Cedilnik <andy.cedilnik@kitware.com> | 2004-01-26 18:57:26 (GMT) |
---|---|---|
committer | Andy Cedilnik <andy.cedilnik@kitware.com> | 2004-01-26 18:57:26 (GMT) |
commit | 2db971afb4e2d09e7ca64e8745df5f8fcf55fd71 (patch) | |
tree | 0e246c0a074db8037736d9ce814000251e3b980b /Source/cmCTest.h | |
parent | 222e9a2876fccaf5b7da399430b4ec0e4db5d4d4 (diff) | |
download | CMake-2db971afb4e2d09e7ca64e8745df5f8fcf55fd71.zip CMake-2db971afb4e2d09e7ca64e8745df5f8fcf55fd71.tar.gz CMake-2db971afb4e2d09e7ca64e8745df5f8fcf55fd71.tar.bz2 |
ENH: Add support for CTestCustom.ctest, which modifies some behavior of ctest
Diffstat (limited to 'Source/cmCTest.h')
-rw-r--r-- | Source/cmCTest.h | 22 |
1 files changed, 21 insertions, 1 deletions
diff --git a/Source/cmCTest.h b/Source/cmCTest.h index c7b311b..bca7ef4 100644 --- a/Source/cmCTest.h +++ b/Source/cmCTest.h @@ -21,6 +21,8 @@ #include "cmStandardIncludes.h" +class cmMakefile; + class cmCTest { public: @@ -37,7 +39,7 @@ public: /** * Initialize and finalize testing */ - void Initialize(); + int Initialize(); void Finalize(); /** @@ -315,6 +317,24 @@ private: bool m_BuildNoCMake; std::string m_NotesFiles; + 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; + + tm_VectorOfStrings m_CustomPreTest; + tm_VectorOfStrings m_CustomPostTest; + tm_VectorOfStrings m_CustomPreMemCheck; + tm_VectorOfStrings m_CustomPostMemCheck; + + int ExecuteCommands(tm_VectorOfStrings& vec); + //! Reread the configuration file void UpdateCTestConfiguration(); |