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"
|
||||
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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user