]> git.ipfire.org Git - thirdparty/libarchive.git/commitdiff
Fix return code of ci_build.sh if tests fail with autotools
authorMartin Matuska <martin@matuska.org>
Thu, 17 Nov 2016 23:17:31 +0000 (00:17 +0100)
committerMartin Matuska <martin@matuska.org>
Thu, 17 Nov 2016 23:17:31 +0000 (00:17 +0100)
build/ci_build.sh

index c3cf7855b25ee5fcf73e0658897621d9a7567a78..ff8ef2dab41484e4249391db71e8780585e561af 100755 (executable)
@@ -91,8 +91,8 @@ for action in ${ACTIONS}; do
                        case "${BUILD_SYSTEM}" in
                                autotools)
                                        if ! make ${MAKE_ARGS} check; then
-                                               RET="$?"
                                                cat test-suite.log
+                                               exit 1
                                        fi
                                        ;;
                                cmake)