diff options
author | Andy Cedilnik <andy.cedilnik@kitware.com> | 2004-10-01 16:21:16 (GMT) |
---|---|---|
committer | Andy Cedilnik <andy.cedilnik@kitware.com> | 2004-10-01 16:21:16 (GMT) |
commit | 6e9ec4598d0505b179012ba5d6d77b1b161a334a (patch) | |
tree | bdd6a8f7fbf8b9269f8460fc9162332c110ba42a /Source/CTest/cmCTestScriptHandler.h | |
parent | 7350756728923cc245464703ac3d4a0cef9653bd (diff) | |
download | CMake-6e9ec4598d0505b179012ba5d6d77b1b161a334a.zip CMake-6e9ec4598d0505b179012ba5d6d77b1b161a334a.tar.gz CMake-6e9ec4598d0505b179012ba5d6d77b1b161a334a.tar.bz2 |
ENH: Add CTEST_EXECUTABLE_NAME to CTest scripting. This way you do not have to specify ctest executable in CTEST_COMMAND, but just a variable
Diffstat (limited to 'Source/CTest/cmCTestScriptHandler.h')
-rw-r--r-- | Source/CTest/cmCTestScriptHandler.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/Source/CTest/cmCTestScriptHandler.h b/Source/CTest/cmCTestScriptHandler.h index d21302d..dc27e1f 100644 --- a/Source/CTest/cmCTestScriptHandler.h +++ b/Source/CTest/cmCTestScriptHandler.h @@ -26,6 +26,7 @@ class cmMakefile; class cmLocalGenerator; class cmGlobalGenerator; class cmake; +class cmCTest; /** \class cmCTestScriptHandler * \brief A class that handles ctest -S invocations @@ -74,7 +75,7 @@ public: /** * Run a dashboard using a specified confiuration script */ - int RunConfigurationScript(); + int RunConfigurationScript(cmCTest* ctest); /* * If verbose then more informaiton is printed out @@ -86,7 +87,7 @@ public: private: // reads in a script - int ReadInScript(const std::string& total_script_arg); + int ReadInScript(cmCTest* ctest, const std::string& total_script_arg); // extract vars from the script to set ivars int ExtractVariables(); @@ -103,7 +104,7 @@ private: int BackupDirectories(); void RestoreBackupDirectories(); - int RunConfigurationScript(const std::string& script); + int RunConfigurationScript(cmCTest* ctest, const std::string& script); int RunConfigurationDashboard(); std::vector<cmStdString> m_ConfigurationScripts; |