Accepting request 713193 from home:okurz:branches:devel:languages:python

- Exclude the tests completely on s390x segfault on known and referenced issue

OBS-URL: https://build.opensuse.org/request/show/713193
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Pillow?expand=0&rev=87
This commit is contained in:
Tomáš Chvátal 2019-07-03 10:17:36 +00:00 committed by Git OBS Bridge
parent 88923e43e2
commit 844c99e6b3
2 changed files with 10 additions and 1 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Jul 3 09:37:33 UTC 2019 - Oliver Kurz <okurz@suse.com>
- Exclude the tests completely on s390x segfault on known and referenced issue
-------------------------------------------------------------------
Sun Jun 9 22:06:09 CEST 2019 - Matej Cepl <mcepl@suse.com>

View File

@ -108,7 +108,10 @@ Python Imaging Library by Fredrik Lundh and Contributors.
%check
%{python_expand export PYTHONPATH=%{buildroot}%{$python_sitearch}
%if %_arch == s390x || %_arch == s390x || %_arch == ppc || %_arch == ppc64
%if %_arch == s390 || %_arch == s390x
echo "WARNING ignoring tests completely due to https://github.com/python-pillow/Pillow/issues/1204 and segfault"
%else
%if %_arch == ppc || %_arch == ppc64
$python selftest.py --installed || \
echo "WARNING ignore failure https://github.com/python-pillow/Pillow/issues/1204"
$python setup.py test || \
@ -117,6 +120,7 @@ echo "WARNING ignore failure https://github.com/python-pillow/Pillow/issues/1204
$python selftest.py --installed
$python setup.py test
%endif
%endif
}
%files %{python_files}