From 6a6c7bd99acc7e2ce94d62a3c8b5983410c49ebb Mon Sep 17 00:00:00 2001 From: Vincent Bernat Date: Thu, 6 Oct 2016 09:18:14 +0200 Subject: [PATCH] travis: display config.log when configure fails --- tests/ci/run.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 -- 2.39.5