From 325808dc9d28efd3a7af3e8e0dbeefdc8ac14e0d Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Thu, 7 Mar 2019 07:54:49 +0000 Subject: [PATCH] Remove workaround for QEMU bug which is fixed in Fedora 30+. Make the tests run in parallel, otherwise they are too slow. --- nbdkit.spec | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/nbdkit.spec b/nbdkit.spec index d11a3d5..7fc457f 100644 --- a/nbdkit.spec +++ b/nbdkit.spec @@ -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 }