From 844c99e6b3d77bc9f64615ac17eb7351227210b3960f1b364425cdbbc8f4b253 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Wed, 3 Jul 2019 10:17:36 +0000 Subject: [PATCH] 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 --- python-Pillow.changes | 5 +++++ python-Pillow.spec | 6 +++++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/python-Pillow.changes b/python-Pillow.changes index a91b168..cb75157 100644 --- a/python-Pillow.changes +++ b/python-Pillow.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Jul 3 09:37:33 UTC 2019 - Oliver Kurz + +- Exclude the tests completely on s390x segfault on known and referenced issue + ------------------------------------------------------------------- Sun Jun 9 22:06:09 CEST 2019 - Matej Cepl diff --git a/python-Pillow.spec b/python-Pillow.spec index dfcfcd9..ca0c8cc 100644 --- a/python-Pillow.spec +++ b/python-Pillow.spec @@ -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}