summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@samsung.com>2018-07-31 20:05:07 -0400
committerMike Blumenkrantz <zmike@samsung.com>2018-07-31 20:05:20 -0400
commitf58d08b6b0de8271f8e92a75e9afb10fca8d1023 (patch)
tree26804023151f5b42ec14d57a45af78098f8520d6
parentb9b209f60f040d0afbccc1db0c96c8e36d14e682 (diff)
ci: print config.log if configure fails
-rwxr-xr-x.ci/ci-configure.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/.ci/ci-configure.sh b/.ci/ci-configure.sh
index 0d1f65c253..4ddd9079d7 100755
--- a/.ci/ci-configure.sh
+++ b/.ci/ci-configure.sh
@@ -57,7 +57,7 @@ if [ "$DISTRO" != "" ] ; then
57 travis_fold configure "configure $OPTS" 57 travis_fold configure "configure $OPTS"
58 docker exec --env MAKEFLAGS="-j5 -rR" --env EIO_MONITOR_POLL=1 --env CC="ccache gcc" \ 58 docker exec --env MAKEFLAGS="-j5 -rR" --env EIO_MONITOR_POLL=1 --env CC="ccache gcc" \
59 --env CXX="ccache g++" --env CFLAGS="-fdirectives-only" --env CXXFLAGS="-fdirectives-only" \ 59 --env CXX="ccache g++" --env CFLAGS="-fdirectives-only" --env CXXFLAGS="-fdirectives-only" \
60 --env LD="ld.gold" $(cat $HOME/cid) sh -c "./configure $OPTS" 60 --env LD="ld.gold" $(cat $HOME/cid) sh -c "./configure $OPTS || cat config.log"
61 travis_endfold configure 61 travis_endfold configure
62else 62else
63 OSX_COPTS="--disable-cxx-bindings --with-tests=regular --disable-dependency-tracking -C" 63 OSX_COPTS="--disable-cxx-bindings --with-tests=regular --disable-dependency-tracking -C"
@@ -78,6 +78,6 @@ else
78 autoreconf -iv 78 autoreconf -iv
79 travis_endfold autoreconf 79 travis_endfold autoreconf
80 travis_fold configure "configure $OSX_COPTS" 80 travis_fold configure "configure $OSX_COPTS"
81 ./configure $OSX_COPTS 81 ./configure $OSX_COPTS || cat config.log
82 travis_endfold configure 82 travis_endfold configure
83fi 83fi