From a367c1f829b9680e9b7a88629c93aa827f09121e Mon Sep 17 00:00:00 2001 From: Gwyn Ciesla Date: Wed, 19 Jul 2023 12:39:22 -0500 Subject: [PATCH] Disable tests on i686 --- numpy.spec | 3 +++ 1 file changed, 3 insertions(+) diff --git a/numpy.spec b/numpy.spec index 2bad9e1..a8e235f 100644 --- a/numpy.spec +++ b/numpy.spec @@ -164,10 +164,13 @@ export PYTHONPATH=%{buildroot}%{python3_sitearch} # Some tests also overflow on 32bit %global ix86_k and not test_vector_matrix_values and not test_matrix_vector_values and not test_identityless_reduction_huge_array and not (TestKind and test_all) %endif +%ifnarch %{ix86} python3 runtests.py --no-build -- -ra -k 'not test_ppc64_ibm_double_double128 %{?ix86_k}' \ -W "ignore:pkg_resources is deprecated as an API::pkg_resources" %endif +%endif + %files -n python3-numpy %license LICENSE.txt