Remove workaround for QEMU bug which is fixed in Fedora 30+.

Make the tests run in parallel, otherwise they are too slow.
This commit is contained in:
Richard W.M. Jones 2019-03-07 07:54:49 +00:00
parent 3bbb506048
commit 325808dc9d

View File

@ -640,16 +640,7 @@ mkdir -p $HOME/.cache/libvirt
export LIBGUESTFS_DEBUG=1
export LIBGUESTFS_TRACE=1
%ifarch %{complete_test_arches}
# qemu in Fedora Rawhide broken:
# https://bugzilla.redhat.com/show_bug.cgi?id=1650975
make -C tests test-error
rm tests/test-error
touch tests/test-error
chmod +x tests/test-error
%endif
make check -j1 || {
make %{?_smp_mflags} check || {
cat tests/test-suite.log
exit 1
}
@ -658,7 +649,7 @@ make check -j1 || {
%if 0%{?have_libguestfs}
%if 0%{?have_python3}
pushd python3
make check -j1 -C tests TESTS=test-python || {
make %{?_smp_mflags} check -C tests TESTS=test-python || {
cat tests/test-suite.log
exit 1
}