build-style/cmake: set CTEST_OUTPUT_ON_FAILURE=TRUE in do_check

Currently a failed output has to be found somewhere in the build directory,
having it output also to stdout makes it far easier to see why it failed
This commit is contained in:
John 2020-07-11 13:41:02 +02:00
parent d16788e133
commit 0e87174b5e

View file

@ -91,7 +91,7 @@ do_check() {
: ${make_cmd:=make}
: ${make_check_target:=test}
${make_cmd} ${make_check_args} ${make_check_target}
CTEST_OUTPUT_ON_FAILURE=TRUE ${make_cmd} ${make_check_args} ${make_check_target}
}
do_install() {