dev-python/pillow: exclude flaky tests
authorVirgil Dupras <vdupras@gentoo.org>
Fri, 29 Jun 2018 02:22:39 +0000 (22:22 -0400)
committerVirgil Dupras <vdupras@gentoo.org>
Fri, 29 Jun 2018 02:22:39 +0000 (22:22 -0400)
Closes: https://bugs.gentoo.org/593816
Package-Manager: Portage-2.3.41, Repoman-2.3.9

dev-python/pillow/pillow-4.3.0-r1.ebuild

index 122241c36577bb5e0bff11c2bd3ca38a679091c9..28006e3c41159d75a8c70f6c36632d162ca75263 100644 (file)
@@ -71,7 +71,15 @@ python_compile_all() {
 
 python_test() {
        "${PYTHON}" selftest.py --installed || die "selftest failed with ${EPYTHON}"
-       virtx nosetests -vx Tests/test_*.py
+       # These excluded tests below depend heavily on freetype being at the exact
+       # same as the one pinned upstream. However, pillow supports a wider range
+       # of freetype versions. These tests are more useful to upstream developer
+       # than to us. Disabling. See bug 593816.
+       virtx nosetests -vx \
+               -e "test_multiline_spacing" \
+               -e "test_render_multiline(_text)?" \
+               -e "test_textsize_equal" \
+               Tests/test_*.py
 }
 
 python_install() {