summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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)