summaryrefslogtreecommitdiffstats
path: root/Tests
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2009-02-23 20:58:44 (GMT)
committerBrad King <brad.king@kitware.com>2009-02-23 20:58:44 (GMT)
commita16c857c30357d2ec03c975f64abb19ff78dd77d (patch)
treebc85f3ca154d6e9d44c81d805e0ea5673cead7ed /Tests
parentc148714b8206f16ab3bfa22c40a2a2fd7511ce2f (diff)
downloadCMake-a16c857c30357d2ec03c975f64abb19ff78dd77d.zip
CMake-a16c857c30357d2ec03c975f64abb19ff78dd77d.tar.gz
CMake-a16c857c30357d2ec03c975f64abb19ff78dd77d.tar.bz2
ENH: Better failure output from CTest.Update*
This teaches CTestUpdateCommon to report the process exit condition from failed child processes executed during tests.
Diffstat (limited to 'Tests')
-rw-r--r--Tests/CTestUpdateCommon.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/CTestUpdateCommon.cmake b/Tests/CTestUpdateCommon.cmake
index 655a6cf..4502908 100644
--- a/Tests/CTestUpdateCommon.cmake
+++ b/Tests/CTestUpdateCommon.cmake
@@ -10,7 +10,7 @@ function(run_child)
)
if(FAILED)
string(REGEX REPLACE "\n" "\n " OUTPUT "${OUTPUT}")
- message(FATAL_ERROR "Child failed. Output is\n ${OUTPUT}\n")
+ message(FATAL_ERROR "Child failed (${FAILED}), output is\n ${OUTPUT}\n")
endif(FAILED)
endfunction(run_child)