From fe55f732eb4534ad8d30077fe0f2d9af51953aed Mon Sep 17 00:00:00 2001 From: Gwyn Ciesla Date: Tue, 22 Jan 2019 15:22:25 -0600 Subject: [PATCH] Disable tests on s390x. --- numpy.spec | 2 ++ 1 file changed, 2 insertions(+) diff --git a/numpy.spec b/numpy.spec index 3e26afb..5014ed2 100644 --- a/numpy.spec +++ b/numpy.spec @@ -229,6 +229,7 @@ ln -s %{python2_sitearch}/%{name}/core/include/numpy/ %{buildroot}/usr/include/n %check +%if %{_arch} != s390x pushd doc &> /dev/null PYTHONPATH="%{buildroot}%{python2_sitearch}" PATH="%{buildroot}%{_bindir}:$PATH" PYTHONDONTWRITEBYTECODE=1 \ %{__python2} -m pytest -v --pyargs numpy @@ -239,6 +240,7 @@ pushd doc &> /dev/null PYTHONPATH="%{buildroot}%{python3_sitearch}" PATH="%{buildroot}%{_bindir}:$PATH" PYTHONDONTWRITEBYTECODE=1 \ %{__python3} -m pytest -v --pyargs numpy popd &> /dev/null +%endif %endif # with_python3