Make %check fail on test suite failure again
This commit is contained in:
parent
34b4222f75
commit
1d8e7a85fb
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
Name: libuser
|
Name: libuser
|
||||||
Version: 0.60
|
Version: 0.60
|
||||||
Release: 2%{?dist}
|
Release: 3%{?dist}
|
||||||
Group: System Environment/Base
|
Group: System Environment/Base
|
||||||
License: LGPLv2+
|
License: LGPLv2+
|
||||||
URL: https://fedorahosted.org/libuser/
|
URL: https://fedorahosted.org/libuser/
|
||||||
@ -57,7 +57,7 @@ make install DESTDIR=$RPM_BUILD_ROOT INSTALL='install -p'
|
|||||||
|
|
||||||
%check
|
%check
|
||||||
|
|
||||||
make check || cat test-suite.log
|
make check || { cat test-suite.log; false; }
|
||||||
|
|
||||||
# Verify that all python modules load, just in case.
|
# Verify that all python modules load, just in case.
|
||||||
LD_LIBRARY_PATH=$RPM_BUILD_ROOT/%{_libdir}:${LD_LIBRARY_PATH}
|
LD_LIBRARY_PATH=$RPM_BUILD_ROOT/%{_libdir}:${LD_LIBRARY_PATH}
|
||||||
@ -96,6 +96,9 @@ python -c "import libuser"
|
|||||||
%{_datadir}/gtk-doc/html/*
|
%{_datadir}/gtk-doc/html/*
|
||||||
|
|
||||||
%changelog
|
%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
|
* Mon Oct 14 2013 Miloslav Trmač <mitr@redhat.com> - 0.60-2
|
||||||
- Include test suite output in build log on failure
|
- Include test suite output in build log on failure
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user