From c1bc9fa6980724567d81d054977ef0bf12431c6a Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Wed, 13 May 2020 07:25:07 -0400 Subject: [PATCH] travis: dump config.log on configure failures Signed-off-by: Mike Frysinger --- travis/main.sh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) 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 -- 2.39.5