When tests fail, dump out test-suite.log so we can debug it.

This commit is contained in:
Richard W.M. Jones 2016-03-09 12:13:16 +00:00
parent e45c543ca3
commit 53205f9dca

View File

@ -6,7 +6,7 @@
Name: nbdkit
Version: 1.1.11
Release: 5%{?dist}
Release: 6%{?dist}
Summary: NBD server
License: BSD
@ -260,7 +260,10 @@ export LIBGUESTFS_TRACE=1
%ifnarch %{arm} ppc %{power64}
# Broken on i686 because of https://bugzilla.redhat.com/show_bug.cgi?id=1302071
%ifnarch %{ix86}
make check
make check || {
cat tests/test-suite.log
exit 1
}
%endif
%endif
%endif
@ -365,6 +368,9 @@ make check
%changelog
* Wed Mar 09 2016 Richard W.M. Jones <rjones@redhat.com> - 1.1.11-6
- When tests fail, dump out test-suite.log so we can debug it.
* Fri Feb 05 2016 Richard W.M. Jones <rjones@redhat.com> - 1.1.11-5
- Don't run tests on x86, because kernel is broken there
(https://bugzilla.redhat.com/show_bug.cgi?id=1302071)