]> git.ipfire.org Git - thirdparty/lldpd.git/commitdiff
tests: be verbose when running make on CI when an error happens
authorVincent Bernat <vincent@bernat.ch>
Sat, 27 Jul 2019 16:53:22 +0000 (18:53 +0200)
committerVincent Bernat <vincent@bernat.ch>
Sat, 27 Jul 2019 16:54:20 +0000 (18:54 +0200)
Otherwise, we don't really know why we get errors.

tests/ci/run.sh

index 81d38da0c93a214bea44abda32bfb08374a734a5..975c778e10d4f4bcffd093ca94ec14722be231cf 100755 (executable)
@@ -21,7 +21,8 @@ esac
     cat config.log
     exit 1
 }
-make all check ${MAKE_ARGS-CFLAGS=-Werror}
+make all ${MAKE_ARGS-CFLAGS=-Werror} || make all ${MAKE_ARGS-CFLAGS=-Werror} V=1
+make check ${MAKE_ARGS-CFLAGS=-Werror}
 make distcheck
 
 case "$(uname -s)" in