Exclude HAVE_GUESTFISH code on incomplete test arches.
This commit is contained in:
parent
ba2c1c3cd1
commit
e04cb2ed89
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user