ci: attempt to print the test logs if distcheck fails

distcheck failures from test failures are hard to debug since distcheck
is more complicated than a regular build, this is a first step in providing
info for that debugging

Differential Revision: https://phab.enlightenment.org/D6652
This commit is contained in:
Mike Blumenkrantz 2018-07-20 11:40:58 -04:00 committed by Stefan Schmidt
parent 0dc35fe8b3
commit bc248fdcf2
1 changed files with 1 additions and 1 deletions

View File

@ -10,7 +10,7 @@ if [ "$DISTRO" != "" ] ; then
docker exec --env MAKEFLAGS="-j5 -rR" --env EIO_MONITOR_POLL=1 --env CC="ccache gcc" \
--env CXX="ccache g++" \
--env CFLAGS="-fdirectives-only" --env CXXFLAGS="-fdirectives-only" \
$(cat $HOME/cid) make distcheck
$(cat $HOME/cid) make distcheck || (sudo cat efl-*/_build/sub/src/test-suite.log; false)
else
export PATH="/usr/local/opt/ccache/libexec:$(brew --prefix gettext)/bin:$PATH"
make