Make %check fail on test suite failure again

This commit is contained in:
Miloslav Trmač 2013-10-15 17:58:20 +02:00
parent 34b4222f75
commit 1d8e7a85fb

View File

@ -2,7 +2,7 @@
Name: libuser
Version: 0.60
Release: 2%{?dist}
Release: 3%{?dist}
Group: System Environment/Base
License: LGPLv2+
URL: https://fedorahosted.org/libuser/
@ -57,7 +57,7 @@ make install DESTDIR=$RPM_BUILD_ROOT INSTALL='install -p'
%check
make check || cat test-suite.log
make check || { cat test-suite.log; false; }
# Verify that all python modules load, just in case.
LD_LIBRARY_PATH=$RPM_BUILD_ROOT/%{_libdir}:${LD_LIBRARY_PATH}
@ -96,6 +96,9 @@ python -c "import libuser"
%{_datadir}/gtk-doc/html/*
%changelog
* Tue Oct 15 2013 Miloslav Trmač <mitr@redhat.com> - 0.60-3
- Fix the -2 change, %%check should fail on test suite failure
* Mon Oct 14 2013 Miloslav Trmač <mitr@redhat.com> - 0.60-2
- Include test suite output in build log on failure