Commit a16c857c authored by Brad King's avatar Brad King

ENH: Better failure output from CTest.Update*

This teaches CTestUpdateCommon to report the process exit condition from
failed child processes executed during tests.
parent c148714b
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment