diff --git a/python-numpy.spec b/python-numpy.spec index 09236b0..07c30dd 100644 --- a/python-numpy.spec +++ b/python-numpy.spec @@ -251,12 +251,12 @@ export PYTHONDONTWRITEBYTECODE=1 export PATH="%{buildroot}%{_bindir}:$PATH" mkdir testing pushd testing -%ifarch ppc64 ppc64le -%pytest_arch -n auto --pyargs numpy || echo "Warning: ignore check error for PowerPC bypass boo#1148173" -%else +SKIP_TESTS="" +%ifarch %{ix86} # gh#numpy/numpy#16212 -%pytest_arch -n auto --pyargs numpy -k 'not (test_big_arrays or test_empty_npz or test_savez_filename_clashes)' +SKIP_TESTS+="not (test_big_arrays or test_empty_npz or test_savez_filename_clashes)" %endif +%pytest_arch -n auto --pyargs numpy -k "$SKIP_TESTS" popd %endif