From 34ad2d0e9058bd186d3239d8d4401678ddde8642 Mon Sep 17 00:00:00 2001 From: Michał Górny Date: Wed, 1 Aug 2018 15:33:10 +0200 Subject: dev-python/pypy: Disable more problematic tests Bug: https://bugs.gentoo.org/654242 --- dev-python/pypy/pypy-6.0.0.ebuild | 13 ++++++++++++- dev-python/pypy/pypy-9999.ebuild | 13 ++++++++++++- 2 files changed, 24 insertions(+), 2 deletions(-) (limited to 'dev-python/pypy') diff --git a/dev-python/pypy/pypy-6.0.0.ebuild b/dev-python/pypy/pypy-6.0.0.ebuild index 63c1511a472f..3f036775348f 100644 --- a/dev-python/pypy/pypy-6.0.0.ebuild +++ b/dev-python/pypy/pypy-6.0.0.ebuild @@ -228,7 +228,18 @@ src_test() { # (unset) local -x PYTHONDONTWRITEBYTECODE= - ./pypy-c ./pypy/test_all.py --pypy=./pypy-c -vv lib-python || die + local ignored_tests=( + # network + --ignore=lib-python/2.7/test/test_urllibnet.py + --ignore=lib-python/2.7/test/test_urllib2net.py + # lots of free space + --ignore=lib-python/2.7/test/test_zipfile64.py + # no module named 'worker' -- a lot + --ignore=lib-python/2.7/test/test_xpickle.py + ) + + ./pypy-c ./pypy/test_all.py --pypy=./pypy-c -vv \ + "${ignored_tests[@]}" lib-python || die } src_install() { diff --git a/dev-python/pypy/pypy-9999.ebuild b/dev-python/pypy/pypy-9999.ebuild index d3d73e720f22..11f050a7d0a6 100644 --- a/dev-python/pypy/pypy-9999.ebuild +++ b/dev-python/pypy/pypy-9999.ebuild @@ -234,7 +234,18 @@ src_test() { # (unset) local -x PYTHONDONTWRITEBYTECODE= - ./pypy-c ./pypy/test_all.py --pypy=./pypy-c -vv lib-python || die + local ignored_tests=( + # network + --ignore=lib-python/2.7/test/test_urllibnet.py + --ignore=lib-python/2.7/test/test_urllib2net.py + # lots of free space + --ignore=lib-python/2.7/test/test_zipfile64.py + # no module named 'worker' -- a lot + --ignore=lib-python/2.7/test/test_xpickle.py + ) + + ./pypy-c ./pypy/test_all.py --pypy=./pypy-c -vv \ + "${ignored_tests[@]}" lib-python || die } src_install() { -- cgit v1.2.3-65-gdbad