Output test-suite.log on test failures

This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2016-03-04 13:24:11 -05:00
parent 2b682337e7
commit 7aba950aa4

View File

@ -393,7 +393,7 @@ install -Dm0644 %{SOURCE9} %{buildroot}%{_pkgdocdir}/
%find_lang %{name}
%check
make check VERBOSE=1
make check VERBOSE=1 || { cat test-suite.log; exit 1; }
# Check for botched translations (https://bugzilla.redhat.com/show_bug.cgi?id=1226566)
test -z "$(grep -L xml:lang %{buildroot}%{_datadir}/polkit-1/actions/org.freedesktop.*.policy)"