From: Vincent Bernat Date: Thu, 12 Mar 2020 10:54:34 +0000 (+0100) Subject: tests: display tests/test-suite.log on errors X-Git-Tag: 1.0.6~29 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=c98c9504bcd29631a088086d0b508e5b22dbc521;p=thirdparty%2Flldpd.git tests: display tests/test-suite.log on errors --- diff --git a/tests/ci/run.sh b/tests/ci/run.sh index 01f6f1a0..c9d88091 100755 --- a/tests/ci/run.sh +++ b/tests/ci/run.sh @@ -21,7 +21,10 @@ esac exit 1 } make all ${MAKE_ARGS-CFLAGS=-Werror} || make all ${MAKE_ARGS-CFLAGS=-Werror} V=1 -make check ${MAKE_ARGS-CFLAGS=-Werror} +make check ${MAKE_ARGS-CFLAGS=-Werror} || { + [ ! -f tests/test-suite.log ] || cat tests/test-suite.log + exit 1 +} make distcheck case "$(uname -s)" in