cat test suite log into build log on failure.

This commit is contained in:
Ville Skyttä 2013-12-21 19:28:25 +02:00
parent 2c2b1c5a3b
commit 6656fda0e7

View File

@ -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