diff options
author | Brad King <brad.king@kitware.com> | 2010-04-27 18:10:06 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2010-04-27 18:10:47 (GMT) |
commit | 1da611fd46818a33abf7179e1a82518b2c90421e (patch) | |
tree | 1e896d49916dcfe6911c03a220f8949d2f8d4843 /Source/CTest | |
parent | 32856c1be4103a933a9616f55d1b1f441be0eecf (diff) | |
download | CMake-1da611fd46818a33abf7179e1a82518b2c90421e.zip CMake-1da611fd46818a33abf7179e1a82518b2c90421e.tar.gz CMake-1da611fd46818a33abf7179e1a82518b2c90421e.tar.bz2 |
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.
Diffstat (limited to 'Source/CTest')
-rw-r--r-- | Source/CTest/cmCTestUpdateHandler.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/CTest/cmCTestUpdateHandler.cxx b/Source/CTest/cmCTestUpdateHandler.cxx index f87b37c..9eae3f3 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"); } |