From a16c857c30357d2ec03c975f64abb19ff78dd77d Mon Sep 17 00:00:00 2001 From: Brad King Date: Mon, 23 Feb 2009 15:58:44 -0500 Subject: ENH: Better failure output from CTest.Update* This teaches CTestUpdateCommon to report the process exit condition from failed child processes executed during tests. --- Tests/CTestUpdateCommon.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- cgit v0.12