summaryrefslogtreecommitdiffstats
path: root/Source/CTest/cmCTestScriptHandler.h
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2005-01-27 16:43:22 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2005-01-27 16:43:22 (GMT)
commitdc0ce24cc6bdd4e59e3fef79fd1bbdfcae82be70 (patch)
tree4b1e28c5e4accd116056be7d243400f16f0ce7d9 /Source/CTest/cmCTestScriptHandler.h
parentbf3d7746458af539536a1438c88608897be71ce2 (diff)
downloadCMake-dc0ce24cc6bdd4e59e3fef79fd1bbdfcae82be70.zip
CMake-dc0ce24cc6bdd4e59e3fef79fd1bbdfcae82be70.tar.gz
CMake-dc0ce24cc6bdd4e59e3fef79fd1bbdfcae82be70.tar.bz2
ENH: Add a superclass to all handlers
Diffstat (limited to 'Source/CTest/cmCTestScriptHandler.h')
-rw-r--r--Source/CTest/cmCTestScriptHandler.h17
1 files changed, 5 insertions, 12 deletions
diff --git a/Source/CTest/cmCTestScriptHandler.h b/Source/CTest/cmCTestScriptHandler.h
index 4c2eb83..0c0b30a 100644
--- a/Source/CTest/cmCTestScriptHandler.h
+++ b/Source/CTest/cmCTestScriptHandler.h
@@ -19,14 +19,13 @@
#define cmCTestScriptHandler_h
-#include "cmStandardIncludes.h"
+#include "cmCTestGenericHandler.h"
#include "cmListFileCache.h"
class cmMakefile;
class cmLocalGenerator;
class cmGlobalGenerator;
class cmake;
-class cmCTest;
/** \class cmCTestScriptHandler
* \brief A class that handles ctest -S invocations
@@ -63,7 +62,7 @@ class cmCTest;
* CTEST_SCRIPT_NAME
*
*/
-class cmCTestScriptHandler
+class cmCTestScriptHandler : public cmCTestGenericHandler
{
public:
@@ -75,12 +74,7 @@ public:
/**
* Run a dashboard using a specified confiuration script
*/
- int RunConfigurationScript(cmCTest* ctest);
-
- /*
- * If verbose then more informaiton is printed out
- */
- void SetVerbose(bool val) { m_Verbose = val; }
+ int RunConfigurationScript();
/*
* Run a script
@@ -104,7 +98,7 @@ public:
private:
// reads in a script
- int ReadInScript(cmCTest* ctest, const std::string& total_script_arg);
+ int ReadInScript(const std::string& total_script_arg);
// extract vars from the script to set ivars
int ExtractVariables();
@@ -119,12 +113,11 @@ private:
int BackupDirectories();
void RestoreBackupDirectories();
- int RunConfigurationScript(cmCTest* ctest, const std::string& script);
+ int RunConfigurationScript(const std::string& script);
int RunConfigurationDashboard();
std::vector<cmStdString> m_ConfigurationScripts;
- bool m_Verbose;
bool m_Backup;
bool m_EmptyBinDir;
bool m_EmptyBinDirOnce;