From ea52e4acc41419e057ad0c086392bdf2f5ea1e2862071d6930aea9fbb43c8ff3 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Wed, 13 May 2020 17:38:52 +0000 Subject: [PATCH] - Reorganize check section to pass OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-numpy?expand=0&rev=63 --- python-numpy.changes | 3 +-- python-numpy.spec | 6 +++--- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/python-numpy.changes b/python-numpy.changes index e22ef07..8e5aee6 100644 --- a/python-numpy.changes +++ b/python-numpy.changes @@ -1,8 +1,7 @@ ------------------------------------------------------------------- Wed May 13 09:13:22 UTC 2020 - Matej Cepl -- Skip three tests which are failing with new GCC10 - (gh#numpy/numpy#16212) +- Reorganize check section to pass ------------------------------------------------------------------- Sat May 9 16:16:28 UTC 2020 - Arun Persaud diff --git a/python-numpy.spec b/python-numpy.spec index 07c30dd..2327ef3 100644 --- a/python-numpy.spec +++ b/python-numpy.spec @@ -254,12 +254,12 @@ pushd testing SKIP_TESTS="" %ifarch %{ix86} # gh#numpy/numpy#16212 -SKIP_TESTS+="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" +%python_expand export PYTHONPATH=%{_python_sysconfig_path $python stdlib}:%{$python_sitearch} +%pytest_arch -n auto --pyargs numpy %{buildroot}%{$python_sitearch}/numpy popd %endif - %if %{without hpc} %post %python_install_alternative f2py