From c98c9504bcd29631a088086d0b508e5b22dbc521 Mon Sep 17 00:00:00 2001 From: Vincent Bernat Date: Thu, 12 Mar 2020 11:54:34 +0100 Subject: [PATCH] tests: display tests/test-suite.log on errors --- tests/ci/run.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 -- 2.39.5