If quickcheck fails, dump the libvirt log file.

This commit is contained in:
Richard W.M. Jones 2014-02-18 15:27:11 +00:00
parent 380228e16d
commit 2313648572
1 changed files with 8 additions and 1 deletions

View File

@ -695,7 +695,14 @@ export SKIP_TEST_VIRT_ALIGNMENT_SCAN_GUESTS_SH=1
export SKIP_TEST_VIRT_DF_GUESTS_SH=1
%if %{runtests}
make quickcheck
# Do make quickcheck first, to fail early if the appliance is
# obviously broken. Also dump libvirt log files if this happens.
if ! make quickcheck; then
cat $HOME/.cache/libvirt/qemu/log/*
exit 1
fi
make check -k
%endif