From ccdca713322bd88092a93f62d5534ad9932b8feb Mon Sep 17 00:00:00 2001 From: Bill Hoffman Date: Wed, 8 Feb 2006 15:37:54 -0500 Subject: ENH: fix broken tests --- Source/cmAddCustomCommandCommand.cxx | 1 - Source/cmAddCustomTargetCommand.cxx | 2 +- Source/cmVTKWrapJavaCommand.cxx | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/Source/cmAddCustomCommandCommand.cxx b/Source/cmAddCustomCommandCommand.cxx index 15df8ed..845a268 100644 --- a/Source/cmAddCustomCommandCommand.cxx +++ b/Source/cmAddCustomCommandCommand.cxx @@ -211,7 +211,6 @@ bool cmAddCustomCommandCommand::InitialPass(std::vector const& args this->SetError(msg.str().c_str()); return false; } - // Choose which mode of the command to use. if(source.empty() && output.empty()) { diff --git a/Source/cmAddCustomTargetCommand.cxx b/Source/cmAddCustomTargetCommand.cxx index f1f1a77..a2a54e8 100644 --- a/Source/cmAddCustomTargetCommand.cxx +++ b/Source/cmAddCustomTargetCommand.cxx @@ -64,7 +64,7 @@ bool cmAddCustomTargetCommand::InitialPass(std::vector const& args) { doing = doing_depends; } - if(copy == "WORKING_DIRECTORY") + else if(copy == "WORKING_DIRECTORY") { doing = doing_working_directory; } diff --git a/Source/cmVTKWrapJavaCommand.cxx b/Source/cmVTKWrapJavaCommand.cxx index 9fe0d3b..0cb139f 100644 --- a/Source/cmVTKWrapJavaCommand.cxx +++ b/Source/cmVTKWrapJavaCommand.cxx @@ -185,5 +185,5 @@ void cmVTKWrapJavaCommand::FinalPass() const char* no_working_directory = 0; m_Makefile->AddUtilityCommand((m_LibraryName+"JavaClasses").c_str(), true, no_output, - alldepends, "", no_working_directory); + alldepends, no_working_directory, ""); } -- cgit v0.12