]> git.ipfire.org Git - thirdparty/lldpd.git/commitdiff
travis: display config.log when configure fails
authorVincent Bernat <vincent@bernat.im>
Thu, 6 Oct 2016 07:18:14 +0000 (09:18 +0200)
committerVincent Bernat <vincent@bernat.im>
Thu, 6 Oct 2016 07:18:31 +0000 (09:18 +0200)
tests/ci/run.sh

index 4b5d61fde4281d594030938f732b364f07e9b296..a3707d9199d060d8fffeb7f7fd40eafcc249815d 100755 (executable)
@@ -9,7 +9,10 @@ set -e
 ./configure $LLDPD_CONFIG_ARGS \
             --enable-pie \
             --localstatedir=/var --sysconfdir=/etc --prefix=/usr \
-            CFLAGS="-O1 -g" LDFLAGS="-fuse-ld=gold"
+            CFLAGS="-O1 -g" LDFLAGS="-fuse-ld=gold" || {
+    cat config.log
+    exit 1
+}
 make all check CFLAGS=-Werror
 make distcheck