cat test suite log into build log on failure.
This commit is contained in:
parent
2c2b1c5a3b
commit
6656fda0e7
@ -102,7 +102,8 @@ find $RPM_BUILD_ROOT -name \*.la | xargs rm -f
|
|||||||
|
|
||||||
%check
|
%check
|
||||||
mkdir -m 700 tests/run
|
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
|
%clean
|
||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
Loading…
Reference in New Issue
Block a user