summaryrefslogtreecommitdiffstats
path: root/Source/CTest/cmCTestScriptHandler.cxx
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2005-05-02 18:15:29 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2005-05-02 18:15:29 (GMT)
commitf1ebfb24c63e9a37d440d405d0940ee07d572ace (patch)
tree8549dde40e9728f027a357d3b16f58bdbdf41938 /Source/CTest/cmCTestScriptHandler.cxx
parent572d9f11476e1964e333373169eaff6d57e3ff43 (diff)
downloadCMake-f1ebfb24c63e9a37d440d405d0940ee07d572ace.zip
CMake-f1ebfb24c63e9a37d440d405d0940ee07d572ace.tar.gz
CMake-f1ebfb24c63e9a37d440d405d0940ee07d572ace.tar.bz2
ENH: More commands. Start working on new style ctest configuration
Diffstat (limited to 'Source/CTest/cmCTestScriptHandler.cxx')
-rw-r--r--Source/CTest/cmCTestScriptHandler.cxx7
1 files changed, 6 insertions, 1 deletions
diff --git a/Source/CTest/cmCTestScriptHandler.cxx b/Source/CTest/cmCTestScriptHandler.cxx
index 5e15b5a..22e1146 100644
--- a/Source/CTest/cmCTestScriptHandler.cxx
+++ b/Source/CTest/cmCTestScriptHandler.cxx
@@ -42,6 +42,8 @@
# include <unistd.h>
#endif
+#include "cmCTestBuildCommand.h"
+#include "cmCTestConfigureCommand.h"
#include "cmCTestEmptyBinaryDirectoryCommand.h"
#include "cmCTestRunScriptCommand.h"
#include "cmCTestSleepCommand.h"
@@ -220,8 +222,10 @@ int cmCTestScriptHandler::ReadInScript(const std::string& total_script_arg)
// add any ctest specific commands, probably should have common superclass
// for ctest commands to clean this up. If a couple more commands are
// created with the same format lets do that - ken
- this->AddCTestCommand(new cmCTestRunScriptCommand);
+ this->AddCTestCommand(new cmCTestBuildCommand);
+ this->AddCTestCommand(new cmCTestConfigureCommand);
this->AddCTestCommand(new cmCTestEmptyBinaryDirectoryCommand);
+ this->AddCTestCommand(new cmCTestRunScriptCommand);
this->AddCTestCommand(new cmCTestSleepCommand);
this->AddCTestCommand(new cmCTestStartCommand);
this->AddCTestCommand(new cmCTestUpdateCommand);
@@ -372,6 +376,7 @@ int cmCTestScriptHandler::RunConfigurationScript(const std::string& total_script
return result;
}
+//----------------------------------------------------------------------
int cmCTestScriptHandler::RunCurrentScript()
{
int result;