summaryrefslogtreecommitdiffstats
path: root/Source/CTest/cmCTestConfigureHandler.cxx
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2005-01-27 20:54:47 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2005-01-27 20:54:47 (GMT)
commitc22cc421e0344074dd4db2f6003ede96a4df7160 (patch)
tree8ad4f90eaa87ce15939588fe6b91a456f4183ea3 /Source/CTest/cmCTestConfigureHandler.cxx
parentd268431ac86ad567596861699f4ed38f3ab6aa58 (diff)
downloadCMake-c22cc421e0344074dd4db2f6003ede96a4df7160.zip
CMake-c22cc421e0344074dd4db2f6003ede96a4df7160.tar.gz
CMake-c22cc421e0344074dd4db2f6003ede96a4df7160.tar.bz2
ENH: Several cleanups and improvements
Diffstat (limited to 'Source/CTest/cmCTestConfigureHandler.cxx')
-rw-r--r--Source/CTest/cmCTestConfigureHandler.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/CTest/cmCTestConfigureHandler.cxx b/Source/CTest/cmCTestConfigureHandler.cxx
index dc70768..9351b31 100644
--- a/Source/CTest/cmCTestConfigureHandler.cxx
+++ b/Source/CTest/cmCTestConfigureHandler.cxx
@@ -34,7 +34,7 @@ cmCTestConfigureHandler::cmCTestConfigureHandler()
//----------------------------------------------------------------------
//clearly it would be nice if this were broken up into a few smaller
//functions and commented...
-int cmCTestConfigureHandler::ConfigureDirectory()
+int cmCTestConfigureHandler::ProcessHandler()
{
std::cout << "Configure project" << std::endl;
std::string cCommand = m_CTest->GetDartConfiguration("ConfigureCommand");
@@ -42,14 +42,14 @@ int cmCTestConfigureHandler::ConfigureDirectory()
{
std::cerr << "Cannot find ConfigureCommand key in the DartConfiguration.tcl"
<< std::endl;
- return 1;
+ return -1;
}
std::string buildDirectory = m_CTest->GetDartConfiguration("BuildDirectory");
if ( buildDirectory.size() == 0 )
{
std::cerr << "Cannot find BuildDirectory key in the DartConfiguration.tcl" << std::endl;
- return 1;
+ return -1;
}
double elapsed_time_start = cmSystemTools::GetTime();
@@ -107,7 +107,7 @@ int cmCTestConfigureHandler::ConfigureDirectory()
if (! res || retVal )
{
std::cerr << "Error(s) when updating the project" << std::endl;
- return 1;
+ return -1;
}
return 0;
}