]> git.ipfire.org Git - thirdparty/libarchive.git/commitdiff
ci_build: be more verbose on test errors if building with autotools
authorMartin Matuska <martin@matuska.org>
Mon, 7 Nov 2016 14:52:36 +0000 (15:52 +0100)
committerMartin Matuska <martin@matuska.org>
Mon, 7 Nov 2016 14:56:13 +0000 (15:56 +0100)
build/ci_build.sh

index 624e09cde31d03d9e7550a76639ef8d856f1e093..c3cf7855b25ee5fcf73e0658897621d9a7567a78 100755 (executable)
@@ -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="$?"
                ;;