Fix showing the test log when tests fail

This commit is contained in:
Kalev Lember 2016-08-31 08:14:07 +02:00
parent 643a96ff1a
commit dac998c7b5

View File

@ -83,10 +83,8 @@ chrpath -d $RPM_BUILD_ROOT%{_libdir}/libwayland-cursor.so
%check
mkdir -m 700 tests/run
# known failure in i686 koji (not always, but sometimes?):
# resources-test, test "destroy_res_tst": signal 11, fail
XDG_RUNTIME_DIR=$PWD/tests/run make check || \
{ rc=$?; cat tests/test-suite.log; } # exit $rc; }
{ rc=$?; cat test-suite.log; exit $rc; }
%post -n libwayland-client -p /sbin/ldconfig