From: Mike Frysinger Date: Wed, 13 May 2020 11:25:07 +0000 (-0400) Subject: travis: dump config.log on configure failures X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=c1bc9fa6980724567d81d054977ef0bf12431c6a;p=elf2flt.git travis: dump config.log on configure failures Signed-off-by: Mike Frysinger --- diff --git a/travis/main.sh b/travis/main.sh index 7a7e5f4..4292310 100755 --- a/travis/main.sh +++ b/travis/main.sh @@ -25,10 +25,13 @@ build_one() { travis_fold start ${arch} "binutils-${bver}" v mkdir -p "${build}" pushd "${build}" >/dev/null - v "${S}"/configure \ + if ! v "${S}"/configure \ --enable-werror \ --with-binutils-build-dir="${S}"/../prebuilts-binutils-libs/output/${bver} \ - --target=${arch}-elf + --target=${arch}-elf ; then + cat config.log + exit 1 + fi m m check popd >/dev/null