Accepting request 817874 from home:bnavigator:branches:devel:languages:python:numeric

- still open: boo#1148173 gh#numpy/numpy#14438 skip two tests
- clean %check section for updated %pytest_arch
  gh#openSUSE/python-rpm-macros#50

OBS-URL: https://build.opensuse.org/request/show/817874
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-numpy?expand=0&rev=66
This commit is contained in:
Tomáš Chvátal 2020-06-30 13:24:12 +00:00 committed by Git OBS Bridge
parent c435d72a44
commit df803b1822
2 changed files with 12 additions and 3 deletions

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Tue Jun 30 12:53:23 UTC 2020 - Benjamin Greiner <code@bnavigator.de>
- still open: boo#1148173 gh#numpy/numpy#14438 skip two tests
- clean %check section for updated %pytest_arch
gh#openSUSE/python-rpm-macros#50
-------------------------------------------------------------------
Wed May 13 09:13:22 UTC 2020 - Matej Cepl <mcepl@suse.com>

View File

@ -247,12 +247,14 @@ EOF
%check
%if %{without hpc}
export PYTHONDONTWRITEBYTECODE=1
export PATH="%{buildroot}%{_bindir}:$PATH"
mkdir testing
pushd testing
%python_expand export PYTHONPATH=%{_python_sysconfig_path $python stdlib}:%{$python_sitearch}
%pytest_arch -n auto --pyargs numpy %{buildroot}%{$python_sitearch}/numpy
# boo#1148173 gh#numpy/numpy#14438
%ifarch ppc64 ppc64le
%define skiptest -k "not test_generalized_sq"
%endif
%pytest_arch -n auto --pyargs numpy %{buildroot}%{$python_sitearch}/numpy %{?skiptest}
popd
%endif
%if %{without hpc}