Skip tests on armv7, mke2fs is broken there.
This commit is contained in:
parent
dc91275484
commit
37fd86cc25
@ -20,6 +20,10 @@
|
|||||||
%bcond_with dietlibc
|
%bcond_with dietlibc
|
||||||
%endif
|
%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.
|
# Whether we should verify tarball signature with GPGv2.
|
||||||
%global verify_tarball_signature 1
|
%global verify_tarball_signature 1
|
||||||
|
|
||||||
@ -146,6 +150,7 @@ install -m 0755 %{SOURCE4} $RPM_BUILD_ROOT%{_rpmconfigdir}/
|
|||||||
|
|
||||||
|
|
||||||
%check
|
%check
|
||||||
|
%ifnarch %{no_test_arches}
|
||||||
|
|
||||||
# Skip execstack test where it is known to fail.
|
# Skip execstack test where it is known to fail.
|
||||||
%if 0%{?fedora} <= 20
|
%if 0%{?fedora} <= 20
|
||||||
@ -159,6 +164,7 @@ make check || {
|
|||||||
exit 1
|
exit 1
|
||||||
}
|
}
|
||||||
|
|
||||||
|
%endif
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%doc COPYING README examples/build-basic-vm.sh
|
%doc COPYING README examples/build-basic-vm.sh
|
||||||
|
Loading…
Reference in New Issue
Block a user