Exclude HAVE_GUESTFISH code on incomplete test arches.

This commit is contained in:
Richard W.M. Jones 2018-06-06 20:18:15 +01:00
parent ba2c1c3cd1
commit e04cb2ed89
1 changed files with 1 additions and 0 deletions

View File

@ -390,6 +390,7 @@ plugins for %{name}.
%ifnarch %{complete_test_arches}
# 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 '/^if HAVE_GUESTFISH/,/^endif HAVE_GUESTFISH/d' tests/Makefile.am
autoreconf -i
%endif