Better organization of skipped tests.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-numpy?expand=0&rev=62
This commit is contained in:
parent
42f5627d37
commit
fee81c867f
@ -251,12 +251,12 @@ export PYTHONDONTWRITEBYTECODE=1
|
|||||||
export PATH="%{buildroot}%{_bindir}:$PATH"
|
export PATH="%{buildroot}%{_bindir}:$PATH"
|
||||||
mkdir testing
|
mkdir testing
|
||||||
pushd testing
|
pushd testing
|
||||||
%ifarch ppc64 ppc64le
|
SKIP_TESTS=""
|
||||||
%pytest_arch -n auto --pyargs numpy || echo "Warning: ignore check error for PowerPC bypass boo#1148173"
|
%ifarch %{ix86}
|
||||||
%else
|
|
||||||
# gh#numpy/numpy#16212
|
# 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
|
%endif
|
||||||
|
%pytest_arch -n auto --pyargs numpy -k "$SKIP_TESTS"
|
||||||
popd
|
popd
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user