diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2009-08-12 02:01:49 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2009-08-12 02:01:49 (GMT) |
commit | b7e3146275f3e8f9f376c150031d8bcc39a37439 (patch) | |
tree | cf7378f53e4fbaa1ea02b325da46432f0059ee78 /Tests/CTestUpdateCommon.cmake | |
parent | a86df0251fe226664e4cb70cebe7bb272aa7fd81 (diff) | |
download | CMake-b7e3146275f3e8f9f376c150031d8bcc39a37439.zip CMake-b7e3146275f3e8f9f376c150031d8bcc39a37439.tar.gz CMake-b7e3146275f3e8f9f376c150031d8bcc39a37439.tar.bz2 |
Output command that failed, if it fails.
Diffstat (limited to 'Tests/CTestUpdateCommon.cmake')
-rw-r--r-- | Tests/CTestUpdateCommon.cmake | 3 |
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) |