diff options
Diffstat (limited to 'Source/CTest')
-rw-r--r-- | Source/CTest/cmCTestBuildCommand.cxx | 4 | ||||
-rw-r--r-- | Source/CTest/cmCTestConfigureCommand.cxx | 8 | ||||
-rw-r--r-- | Source/CTest/cmCTestCoverageCommand.cxx | 2 | ||||
-rw-r--r-- | Source/CTest/cmCTestSubmitCommand.cxx | 4 | ||||
-rw-r--r-- | Source/CTest/cmCTestUpdateCommand.cxx | 6 |
5 files changed, 12 insertions, 12 deletions
diff --git a/Source/CTest/cmCTestBuildCommand.cxx b/Source/CTest/cmCTestBuildCommand.cxx index 5d19e0e..7838118 100644 --- a/Source/CTest/cmCTestBuildCommand.cxx +++ b/Source/CTest/cmCTestBuildCommand.cxx @@ -46,7 +46,7 @@ cmCTestGenericHandler* cmCTestBuildCommand::InitializeHandler() if ( !handler ) { this->SetError("internal CTest error. Cannot instantiate build handler"); - return false; + return 0; } const char* ctestBuildCommand @@ -104,7 +104,7 @@ cmCTestGenericHandler* cmCTestBuildCommand::InitializeHandler() "this is a CMake project, or specify the CTEST_BUILD_COMMAND for " "cmake or any other project."; this->SetError(ostr.str().c_str()); - return false; + return 0; } } diff --git a/Source/CTest/cmCTestConfigureCommand.cxx b/Source/CTest/cmCTestConfigureCommand.cxx index 829f4a5..9a30fe8 100644 --- a/Source/CTest/cmCTestConfigureCommand.cxx +++ b/Source/CTest/cmCTestConfigureCommand.cxx @@ -46,7 +46,7 @@ cmCTestGenericHandler* cmCTestConfigureCommand::InitializeHandler() this->SetError("Build directory not specified. Either use BUILD " "argument to CTEST_CONFIGURE command or set CTEST_BINARY_DIRECTORY " "variable"); - return false; + return 0; } const char* ctestConfigureCommand @@ -69,7 +69,7 @@ cmCTestGenericHandler* cmCTestConfigureCommand::InitializeHandler() this->SetError("Source directory not specified. Either use SOURCE " "argument to CTEST_CONFIGURE command or set CTEST_SOURCE_DIRECTORY " "variable"); - return false; + return 0; } std::string cmakeConfigureCommand = "\""; cmakeConfigureCommand += this->CTest->GetCMakeExecutable(); @@ -86,7 +86,7 @@ cmCTestGenericHandler* cmCTestConfigureCommand::InitializeHandler() this->SetError("Configure command is not specified. If this is a CMake " "project, specify CTEST_CMAKE_GENERATOR, or if this is not CMake " "project, specify CTEST_CONFIGURE_COMMAND."); - return false; + return 0; } } @@ -96,7 +96,7 @@ cmCTestGenericHandler* cmCTestConfigureCommand::InitializeHandler() { this->SetError( "internal CTest error. Cannot instantiate configure handler"); - return false; + return 0; } return handler; } diff --git a/Source/CTest/cmCTestCoverageCommand.cxx b/Source/CTest/cmCTestCoverageCommand.cxx index b97e0b2..bf64afc 100644 --- a/Source/CTest/cmCTestCoverageCommand.cxx +++ b/Source/CTest/cmCTestCoverageCommand.cxx @@ -29,7 +29,7 @@ cmCTestGenericHandler* cmCTestCoverageCommand::InitializeHandler() if ( !handler ) { this->SetError("internal CTest error. Cannot instantiate test handler"); - return false; + return 0; } return handler; } diff --git a/Source/CTest/cmCTestSubmitCommand.cxx b/Source/CTest/cmCTestSubmitCommand.cxx index a85c33e..a321c3f 100644 --- a/Source/CTest/cmCTestSubmitCommand.cxx +++ b/Source/CTest/cmCTestSubmitCommand.cxx @@ -95,7 +95,7 @@ cmCTestGenericHandler* cmCTestSubmitCommand::InitializeHandler() if ( !this->CTest->SubmitExtraFiles(newExtraFiles)) { this->SetError("problem submitting extra files."); - return false; + return 0; } } @@ -104,7 +104,7 @@ cmCTestGenericHandler* cmCTestSubmitCommand::InitializeHandler() if ( !handler ) { this->SetError("internal CTest error. Cannot instantiate submit handler"); - return false; + return 0; } return handler; } diff --git a/Source/CTest/cmCTestUpdateCommand.cxx b/Source/CTest/cmCTestUpdateCommand.cxx index 2e523fe..7d274b8 100644 --- a/Source/CTest/cmCTestUpdateCommand.cxx +++ b/Source/CTest/cmCTestUpdateCommand.cxx @@ -59,13 +59,13 @@ cmCTestGenericHandler* cmCTestUpdateCommand::InitializeHandler() if ( !handler ) { this->SetError("internal CTest error. Cannot instantiate update handler"); - return false; + return 0; } handler->SetCommand(this); if ( source_dir.empty() ) { this->SetError("source directory not specified. Please use SOURCE tag"); - return false; + return 0; } handler->SetOption("SourceDirectory", source_dir.c_str()); if ( initialCheckoutCommand ) @@ -84,7 +84,7 @@ cmCTestGenericHandler* cmCTestUpdateCommand::InitializeHandler() "CTEST_CHECKOUT_COMMAND."; } this->SetError(str.str().c_str()); - return false; + return 0; } return handler; } |