If quickcheck fails, dump the libvirt log file.
This commit is contained in:
parent
380228e16d
commit
2313648572
@ -695,7 +695,14 @@ export SKIP_TEST_VIRT_ALIGNMENT_SCAN_GUESTS_SH=1
|
|||||||
export SKIP_TEST_VIRT_DF_GUESTS_SH=1
|
export SKIP_TEST_VIRT_DF_GUESTS_SH=1
|
||||||
|
|
||||||
%if %{runtests}
|
%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
|
make check -k
|
||||||
|
|
||||||
%endif
|
%endif
|
||||||
|
Loading…
Reference in New Issue
Block a user