Accepting request 1166748 from home:dgarcia:branches:devel:languages:python

- Reenable tests for s390x and ppc, bsc#1222553
  gh#python-pillow/Pillow#1204

OBS-URL: https://build.opensuse.org/request/show/1166748
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Pillow?expand=0&rev=154
This commit is contained in:
Oliver Kurz 2024-04-11 09:42:47 +00:00 committed by Git OBS Bridge
parent 5c160e4e61
commit 346a2d881f
2 changed files with 6 additions and 11 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Apr 10 12:07:32 UTC 2024 - Daniel Garcia <daniel.garcia@suse.com>
- Reenable tests for s390x and ppc, bsc#1222553
gh#python-pillow/Pillow#1204
-------------------------------------------------------------------
Wed Apr 3 07:29:31 UTC 2024 - Dirk Müller <dmueller@suse.com>

View File

@ -82,19 +82,8 @@ Python Imaging Library by Fredrik Lundh and Contributors.
%check
%{python_expand export PYTHONPATH=%{buildroot}%{$python_sitearch} PYTHONDONTWRITEBYTECODE=1
%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"
pytest-%{$python_bin_suffix} --ignore=_build.python2 --ignore=_build.python3 --ignore=_build.pypy3 -v || \
echo "WARNING ignore failure https://github.com/python-pillow/Pillow/issues/1204"
%else
$python selftest.py --installed
pytest-%{$python_bin_suffix} --ignore=_build.python2 --ignore=_build.python3 --ignore=_build.pypy3 -v -k 'not (test_stroke or test_stroke_multiline)'
%endif
%endif
}
%files %{python_files}