diff options
author | Andy Cedilnik <andy.cedilnik@kitware.com> | 2005-05-03 12:17:39 (GMT) |
---|---|---|
committer | Andy Cedilnik <andy.cedilnik@kitware.com> | 2005-05-03 12:17:39 (GMT) |
commit | c7feef30e2655bbb433050bb32f11dd4b053f227 (patch) | |
tree | 7db626161cfe5d30cdeb4eb15049c564f2ff8690 /Source/cmCTest.h | |
parent | 4675aed76e045cd5aea55a6b15f0a3b80fccfe9f (diff) | |
download | CMake-c7feef30e2655bbb433050bb32f11dd4b053f227.zip CMake-c7feef30e2655bbb433050bb32f11dd4b053f227.tar.gz CMake-c7feef30e2655bbb433050bb32f11dd4b053f227.tar.bz2 |
ENH: Promote submit into a full handler, add test and submit command and do some cleanups
Diffstat (limited to 'Source/cmCTest.h')
-rw-r--r-- | Source/cmCTest.h | 21 |
1 files changed, 8 insertions, 13 deletions
diff --git a/Source/cmCTest.h b/Source/cmCTest.h index 7e832dc..25f8492 100644 --- a/Source/cmCTest.h +++ b/Source/cmCTest.h @@ -71,12 +71,6 @@ public: */ int TestDirectory(bool memcheck); - /** - * Do submit testing results - */ - int SubmitResults(); - std::string GetSubmitResultsPrefix(); - ///! what is the configuraiton type, e.g. Debug, Release etc. std::string GetConfigType(); @@ -166,12 +160,13 @@ public: // provide some more detailed info on the return code for ctest enum { - UPDATE_ERRORS = 0x01, + UPDATE_ERRORS = 0x01, CONFIGURE_ERRORS = 0x02, - BUILD_ERRORS = 0x04, - TEST_ERRORS = 0x08, - MEMORY_ERRORS = 0x10, - COVERAGE_ERRORS = 0x20 + BUILD_ERRORS = 0x04, + TEST_ERRORS = 0x08, + MEMORY_ERRORS = 0x10, + COVERAGE_ERRORS = 0x20, + SUBMIT_ERRORS = 0x40 }; ///! Are we producing XML @@ -198,6 +193,8 @@ public: */ bool SetDartConfigurationFromCMakeVariable(cmMakefile* mf, const char* dconfig, const char* cmake_var); + //! Make string safe to be send as an URL + static std::string MakeURLSafe(const std::string&); private: std::string m_ConfigType; bool m_Verbose; @@ -210,8 +207,6 @@ private: int GenerateNotesFile(const char* files); - static std::string MakeURLSafe(const std::string&); - // these are helper classes typedef std::map<cmStdString,cmCTestGenericHandler*> t_TestingHandlers; t_TestingHandlers m_TestingHandlers; |