Skip tests on armv7, mke2fs is broken there.

This commit is contained in:
Richard W.M. Jones 2019-07-28 10:13:39 +01:00
parent dc91275484
commit 37fd86cc25

View File

@ -20,6 +20,10 @@
%bcond_with dietlibc
%endif
# Architectures that cannot run the tests.
# armv7: https://bugzilla.redhat.com/show_bug.cgi?id=1733743
%global no_test_arches %{arm}
# Whether we should verify tarball signature with GPGv2.
%global verify_tarball_signature 1
@ -146,6 +150,7 @@ install -m 0755 %{SOURCE4} $RPM_BUILD_ROOT%{_rpmconfigdir}/
%check
%ifnarch %{no_test_arches}
# Skip execstack test where it is known to fail.
%if 0%{?fedora} <= 20
@ -159,6 +164,7 @@ make check || {
exit 1
}
%endif
%files
%doc COPYING README examples/build-basic-vm.sh