summaryrefslogtreecommitdiffstats
path: root/Source/cmCTest.h
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2005-07-18 15:46:45 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2005-07-18 15:46:45 (GMT)
commit3d84afe571f03f0f8406a4af95746877b5ee9267 (patch)
tree16a5b52f5a6baf229166f6eb77d4bf77901ee7d9 /Source/cmCTest.h
parent0949debeceb07f52dd7e6ae56e4041023c0ea797 (diff)
downloadCMake-3d84afe571f03f0f8406a4af95746877b5ee9267.zip
CMake-3d84afe571f03f0f8406a4af95746877b5ee9267.tar.gz
CMake-3d84afe571f03f0f8406a4af95746877b5ee9267.tar.bz2
ENH: Several improvements and cleanups:
1. Add long command line arguments for every argument 2. Add a way to overwrite CTest configuration by providing --overwrite TimeOut=10 3. Improve argument parsing. 4. Add submit index argument
Diffstat (limited to 'Source/cmCTest.h')
-rw-r--r--Source/cmCTest.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/Source/cmCTest.h b/Source/cmCTest.h
index 9ca2844..0a80e72 100644
--- a/Source/cmCTest.h
+++ b/Source/cmCTest.h
@@ -250,6 +250,10 @@ public:
m_SuppressUpdatingCTestConfiguration = val;
}
+ //! Add overwrite to ctest configuration.
+ // The format is key=value
+ void AddCTestConfigurationOverwrite(const char* encstr);
+
//! Create XML file that contains all the notes specified
int GenerateNotesFile(const std::vector<cmStdString> &files);
@@ -315,6 +319,7 @@ private:
std::string m_CTestConfigFile;
tm_CTestConfigurationMap m_CTestConfiguration;
+ tm_CTestConfigurationMap m_CTestConfigurationOverwrites;
int m_Tests[LAST_TEST];
std::string m_CurrentTag;
@@ -354,6 +359,9 @@ private:
///! Find the running cmake
void FindRunningCMake(const char* arg0);
+ //! Check if the argument is the one specified
+ bool CheckArgument(const std::string& arg, const char* varg1, const char* varg2 = 0);
+
bool m_SuppressUpdatingCTestConfiguration;
bool m_Debug;
@@ -364,6 +372,7 @@ private:
std::set<cmStdString> m_SubmitFiles;
+ int m_SubmitIndex;
cmGeneratedFileStream* m_OutputLogFile;
int m_OutputLogFileLastTag;