From c4446bc9c0d24e3be9f2933170319085af99b5f2 Mon Sep 17 00:00:00 2001 From: Elliott Sales de Andrade Date: Aug 08 2019 05:22:32 +0000 Subject: Skip wx test on ppc64le. See https://bugzilla.redhat.com/show_bug.cgi?id=1738752. --- diff --git a/python-matplotlib.spec b/python-matplotlib.spec index fbcca05..fe73d0d 100644 --- a/python-matplotlib.spec +++ b/python-matplotlib.spec @@ -339,6 +339,8 @@ export http_proxy=http://127.0.0.1/ # * test_invisible_Line_rendering: Checks for "slowness" that often fails on a # heavily-loaded builder. # * test_tinypages fails due to new Sphinx warning +# * wxagg is broken on ppc64le: +# https://bugzilla.redhat.com/show_bug.cgi?id=1738752 MPLCONFIGDIR=$PWD \ MATPLOTLIBRC=%{buildroot}%{_sysconfdir}/matplotlibrc \ PYTHONPATH=%{buildroot}%{python3_sitearch} \ @@ -346,7 +348,11 @@ PYTHONDONTWRITEBYTECODE=1 \ xvfb-run -a -s "-screen 0 640x480x24" \ %{__python3} tests.py -ra -n $(getconf _NPROCESSORS_ONLN) \ -m 'not network' \ +%ifarch ppc64le + -k 'not test_invisible_Line_rendering and not Qt5Agg and not wxagg' +%else -k 'not test_invisible_Line_rendering and not Qt5Agg' +%endif # Run Qt5Agg tests separately to not conflict with Qt4 tests. MPLCONFIGDIR=$PWD \ MATPLOTLIBRC=%{buildroot}%{_sysconfdir}/matplotlibrc \