blob: f88f2e8dc9bbe00e18d8cf9ab7fcc98a202a45f2 (
plain)
1
2
3
4
5
6
7
|
file(READ "${bin_dir}/test_output.txt" output)
file(READ "${bin_dir}/test_error.txt" error)
message(FATAL_ERROR "Error in pre-test phase '${RunCMake_TEST_STEP}'!\n"
"Return code: '${return_code}'\n"
"Info output: '${output}'\n"
"Error output: '${error}'")
|