From 1da611fd46818a33abf7179e1a82518b2c90421e Mon Sep 17 00:00:00 2001 From: Brad King Date: Tue, 27 Apr 2010 14:10:06 -0400 Subject: [PATCH] ctest_update: Report failure in Update.xml Report in when the update command line returns non-zero. Otherwise the failure may be silently ignored since the error was previously recorded only in the local log file. --- Source/CTest/cmCTestUpdateHandler.cxx | 1 + 1 file changed, 1 insertion(+) diff --git a/Source/CTest/cmCTestUpdateHandler.cxx b/Source/CTest/cmCTestUpdateHandler.cxx index f87b37c84..9eae3f3ac 100644 --- a/Source/CTest/cmCTestUpdateHandler.cxx +++ b/Source/CTest/cmCTestUpdateHandler.cxx @@ -306,6 +306,7 @@ int cmCTestUpdateHandler::ProcessHandler() } if(!updated) { + os << "Update command failed:\n" << vc->GetUpdateCommandLine(); cmCTestLog(this->CTest, ERROR_MESSAGE, " Update command failed: " << vc->GetUpdateCommandLine() << "\n"); }