Skip test suite on aarch64
(https://bugzilla.redhat.com/show_bug.cgi?id=1833346)
This commit is contained in:
parent
5f6350a8d8
commit
c887509a3e
@ -19,6 +19,13 @@
|
|||||||
# often broken on non-x86_64 arches.
|
# often broken on non-x86_64 arches.
|
||||||
%global complete_test_arches x86_64
|
%global complete_test_arches x86_64
|
||||||
|
|
||||||
|
# If the test suite is broken on a particular architecture, document
|
||||||
|
# it as a bug and add it to this list.
|
||||||
|
#
|
||||||
|
# aarch64: https://bugzilla.redhat.com/show_bug.cgi?id=1833346
|
||||||
|
#global broken_test_arches NONE
|
||||||
|
%global broken_test_arches aarch64
|
||||||
|
|
||||||
%if 0%{?rhel} == 7
|
%if 0%{?rhel} == 7
|
||||||
# On RHEL 7, nothing in the virt stack is shipped on aarch64 and
|
# On RHEL 7, nothing in the virt stack is shipped on aarch64 and
|
||||||
# libguestfs was not shipped on POWER (fixed in 7.5). We could in
|
# libguestfs was not shipped on POWER (fixed in 7.5). We could in
|
||||||
@ -647,6 +654,7 @@ rm $RPM_BUILD_ROOT%{_mandir}/man1/nbdkit-ext2-plugin.1*
|
|||||||
|
|
||||||
|
|
||||||
%check
|
%check
|
||||||
|
%ifnarch %{broken_test_arches}
|
||||||
# Workaround for broken libvirt (RHBZ#1138604).
|
# Workaround for broken libvirt (RHBZ#1138604).
|
||||||
mkdir -p $HOME/.cache/libvirt
|
mkdir -p $HOME/.cache/libvirt
|
||||||
|
|
||||||
@ -672,6 +680,7 @@ make %{?_smp_mflags} check || {
|
|||||||
cat tests/test-suite.log
|
cat tests/test-suite.log
|
||||||
exit 1
|
exit 1
|
||||||
}
|
}
|
||||||
|
%endif
|
||||||
|
|
||||||
|
|
||||||
%if 0%{?have_ocaml}
|
%if 0%{?have_ocaml}
|
||||||
|
Loading…
Reference in New Issue
Block a user