From 6656fda0e75b3b56ccb1fa15af82367bb08fb1f3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ville=20Skytt=C3=A4?= Date: Sat, 21 Dec 2013 19:28:25 +0200 Subject: [PATCH] cat test suite log into build log on failure. --- wayland.spec | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/wayland.spec b/wayland.spec index d506f07..a88c429 100644 --- a/wayland.spec +++ b/wayland.spec @@ -102,7 +102,8 @@ find $RPM_BUILD_ROOT -name \*.la | xargs rm -f %check mkdir -m 700 tests/run -XDG_RUNTIME_DIR=$PWD/tests/run make check +XDG_RUNTIME_DIR=$PWD/tests/run make check || \ +{ rc=$?; cat tests/test-suite.log; exit $rc; } %clean rm -rf $RPM_BUILD_ROOT