summaryrefslogtreecommitdiffstats
path: root/Source/cmCTest.h
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2005-05-03 12:17:39 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2005-05-03 12:17:39 (GMT)
commitc7feef30e2655bbb433050bb32f11dd4b053f227 (patch)
tree7db626161cfe5d30cdeb4eb15049c564f2ff8690 /Source/cmCTest.h
parent4675aed76e045cd5aea55a6b15f0a3b80fccfe9f (diff)
downloadCMake-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.h21
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;