Fix complete_test_arches.

This commit is contained in:
Richard W.M. Jones 2019-12-01 20:39:55 +00:00
parent 06b032cc84
commit 41f790f919

View File

@ -19,8 +19,7 @@
# On all other architectures, a simpler test suite must pass. This # On all other architectures, a simpler test suite must pass. This
# omits any tests that run full qemu, since running qemu under TCG is # omits any tests that run full qemu, since running qemu under TCG is
# often broken on non-x86_64 arches. # often broken on non-x86_64 arches.
# x86_64 is currently broken in F31 by https://bugzilla.redhat.com/1692047 %global complete_test_arches x86_64
%global complete_test_arches NONE
# If we should verify tarball signature with GPGv2. # If we should verify tarball signature with GPGv2.
%global verify_tarball_signature 1 %global verify_tarball_signature 1
@ -569,8 +568,7 @@ autoreconf -i
%ifnarch %{complete_test_arches} %ifnarch %{complete_test_arches}
# Simplify the test suite so it doesn't require qemu. # Simplify the test suite so it doesn't require qemu.
sed -i -e '/^if HAVE_LIBGUESTFS/,/^endif HAVE_LIBGUESTFS/d' tests/Makefile.am sed -i -e '/^LIBGUESTFS_TESTS/d' tests/Makefile.am
sed -i -e '/^if HAVE_GUESTFISH/,/^endif HAVE_GUESTFISH/d' tests/Makefile.am
autoreconf -i autoreconf -i
%endif %endif