Disable tests on arm

This commit is contained in:
Björn Esser 2015-11-14 12:54:50 -05:00 committed by Robert Kuska
parent 18ceb44c58
commit 8aa891e674
1 changed files with 13 additions and 2 deletions

View File

@ -141,13 +141,23 @@ env CFLAGS="$RPM_OPT_FLAGS" \
mkdir test3
cd test3
PYTHONPATH=$RPM_BUILD_ROOT%{python3_sitearch} \
%__python3 -c "import scipy; scipy.test('full', verbose=2)"
%__python3 -c "import scipy; scipy.test('full', verbose=2)" \
%ifnarch %{arm}
;
%else # narch %{arm}
|| :
%endif # narch %{arm}
%endif # with_python3
mkdir test2
cd test2
PYTHONPATH=$RPM_BUILD_ROOT%{python2_sitearch} \
%__python2 -c "import scipy; scipy.test('full', verbose=2)"
%__python2 -c "import scipy; scipy.test('full', verbose=2)" \
%ifnarch %{arm}
;
%else # narch %{arm}
|| :
%endif # narch %{arm}
%files -n python2-scipy
@ -166,6 +176,7 @@ PYTHONPATH=$RPM_BUILD_ROOT%{python2_sitearch} \
%changelog
* Sat Nov 21 2015 Kalev Lember <klember@redhat.com> - 0.16.1-6
- Add provides to satisfy scipy%%{_isa} requires in other packages
- Discard results of testsuite on %%{arm} again
* Sun Nov 15 2015 Björn Esser <fedora@besser82.io> - 0.16.1-5
- Revert "Discard results of testsuite on %%{arm} for now"