Browse Source

ctest_update: Report failure in Update.xml

Report in <UpdateReturnStatus> 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.
Brad King 15 years ago
parent
commit
1da611fd46
1 changed files with 1 additions and 0 deletions
  1. 1 0
      Source/CTest/cmCTestUpdateHandler.cxx

+ 1 - 0
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");
     }