Display build log for autotools build on failure.

We can't see the failure messages now, so something like "aborted", which
probably means assertion failure, is not very useful right now.

E.g. https://travis-ci.org/TokTok/c-toxcore/jobs/476028600#L1220
This commit is contained in:
iphydf 2019-01-06 17:25:14 +00:00
parent 765fd8a38a
commit 0f8b5c8255
No known key found for this signature in database
GPG Key ID: 3855DBA2D74403C9

View File

@ -41,7 +41,7 @@ travis_script() {
cd _build # pushd
../configure $CONFIG_FLAGS || (cat config.log && false)
make "-j$NPROC" -k CFLAGS="$C_FLAGS" LDFLAGS="$LD_FLAGS"
make -j50 -k distcheck DISTCHECK_CONFIGURE_FLAGS="$CONFIG_FLAGS"
make -j50 -k distcheck DISTCHECK_CONFIGURE_FLAGS="$CONFIG_FLAGS" || (cat build/test-suite.log && false)
cd - # popd
}