From 944b8aab7c9cf4417a6d2384b37ad35d30309a2d Mon Sep 17 00:00:00 2001 From: Martin Matuska Date: Mon, 7 Nov 2016 15:52:36 +0100 Subject: [PATCH] ci_build: be more verbose on test errors if building with autotools --- build/ci_build.sh | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/build/ci_build.sh b/build/ci_build.sh index 624e09cde..c3cf7855b 100755 --- a/build/ci_build.sh +++ b/build/ci_build.sh @@ -89,8 +89,15 @@ for action in ${ACTIONS}; do ;; test) case "${BUILD_SYSTEM}" in - autotools) make ${MAKE_ARGS} check ;; - cmake) make ${MAKE_ARGS} test ;; + autotools) + if ! make ${MAKE_ARGS} check; then + RET="$?" + cat test-suite.log + fi + ;; + cmake) + make ${MAKE_ARGS} test + ;; esac RET="$?" ;; -- 2.47.2