From 88c9f70cfaca1e907c3100e86dfc689653463634 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Piotr=20W=C3=B3jcik?= Date: Wed, 9 Jun 2021 20:19:12 +0200 Subject: [PATCH] build-style/cmake: move CTEST_OUTPUT_ON_FAILURE to environment --- common/build-style/cmake.sh | 2 +- common/environment/build-style/cmake.sh | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/common/build-style/cmake.sh b/common/build-style/cmake.sh index 0fb985631b..a7627e7dcf 100644 --- a/common/build-style/cmake.sh +++ b/common/build-style/cmake.sh @@ -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() { diff --git a/common/environment/build-style/cmake.sh b/common/environment/build-style/cmake.sh index 9de8567f46..c2c0c76c8e 100644 --- a/common/environment/build-style/cmake.sh +++ b/common/environment/build-style/cmake.sh @@ -4,3 +4,5 @@ if [ "$CHROOT_READY" ]; then hostmakedepends+=" ninja" fi fi + +export CTEST_OUTPUT_ON_FAILURE=TRUE