Enable libvirt debugging when running make quickcheck (thanks: Jiri Denemark)
This commit is contained in:
parent
05079dcab4
commit
6357e3d5f7
@ -782,9 +782,11 @@ export SKIP_TEST_VIRT_DF_GUESTS_SH=1
|
|||||||
|
|
||||||
%if %{runtests}
|
%if %{runtests}
|
||||||
|
|
||||||
# Do make quickcheck first, to fail early if the appliance is
|
# Do make quickcheck first, to fail early if the appliance or libvirt
|
||||||
# obviously broken. Also dump libvirt log files if this happens.
|
# is obviously broken. Also dump libvirt log files if this happens.
|
||||||
if ! make quickcheck; then
|
# Since it's most likely libvirt which is broken, make sure libvirt
|
||||||
|
# debugging is enabled here.
|
||||||
|
if ! make quickcheck LIBVIRT_DEBUG=1; then
|
||||||
cat $HOME/.cache/libvirt/qemu/log/*
|
cat $HOME/.cache/libvirt/qemu/log/*
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user