From: Martin Matuska Date: Mon, 7 Nov 2016 14:52:36 +0000 (+0100) Subject: ci_build: be more verbose on test errors if building with autotools X-Git-Tag: v3.3.0~119 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=944b8aab7c9cf4417a6d2384b37ad35d30309a2d;p=thirdparty%2Flibarchive.git ci_build: be more verbose on test errors if building with autotools --- 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="$?" ;;