build-style/cmake: move CTEST_OUTPUT_ON_FAILURE to environment

This commit is contained in:
Piotr Wójcik 2021-06-09 20:19:12 +02:00 committed by Piotr
parent 0d2522f5d5
commit 88c9f70cfa
2 changed files with 3 additions and 1 deletions

View file

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

View file

@ -4,3 +4,5 @@ if [ "$CHROOT_READY" ]; then
hostmakedepends+=" ninja"
fi
fi
export CTEST_OUTPUT_ON_FAILURE=TRUE