summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2009-08-12 02:01:49 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2009-08-12 02:01:49 (GMT)
commitb7e3146275f3e8f9f376c150031d8bcc39a37439 (patch)
treecf7378f53e4fbaa1ea02b325da46432f0059ee78
parenta86df0251fe226664e4cb70cebe7bb272aa7fd81 (diff)
downloadCMake-b7e3146275f3e8f9f376c150031d8bcc39a37439.zip
CMake-b7e3146275f3e8f9f376c150031d8bcc39a37439.tar.gz
CMake-b7e3146275f3e8f9f376c150031d8bcc39a37439.tar.bz2
Output command that failed, if it fails.
-rw-r--r--Tests/CTestUpdateCommon.cmake3
1 files changed, 2 insertions, 1 deletions
diff --git a/Tests/CTestUpdateCommon.cmake b/Tests/CTestUpdateCommon.cmake
index 9b6960f..b680b8e 100644
--- a/Tests/CTestUpdateCommon.cmake
+++ b/Tests/CTestUpdateCommon.cmake
@@ -10,7 +10,8 @@ function(run_child)
)
if(FAILED)
string(REGEX REPLACE "\n" "\n " OUTPUT "${OUTPUT}")
- message(FATAL_ERROR "Child failed (${FAILED}), output is\n ${OUTPUT}\n")
+ message(FATAL_ERROR "Child failed (${FAILED}), output is\n ${OUTPUT}\n"
+ "Command = [${ARGN}]\n")
endif(FAILED)
endfunction(run_child)