From: Vincent Bernat Date: Thu, 6 Oct 2016 07:18:14 +0000 (+0200) Subject: travis: display config.log when configure fails X-Git-Tag: 0.9.6~35 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=6a6c7bd99acc7e2ce94d62a3c8b5983410c49ebb;p=thirdparty%2Flldpd.git travis: display config.log when configure fails --- diff --git a/tests/ci/run.sh b/tests/ci/run.sh index 4b5d61fd..a3707d91 100755 --- a/tests/ci/run.sh +++ b/tests/ci/run.sh @@ -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