commit:     bd8453f541b60d86b5a64c8dd0becf34c64c6e01
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Aug  1 13:32:47 2018 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Aug  1 13:34:21 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bd8453f5

dev-python/pypy-bin: Disable more problematic tests

Bug: https://bugs.gentoo.org/637208

 dev-python/pypy-bin/pypy-bin-6.0.0.ebuild | 13 ++++++++++++-
 1 file changed, 12 insertions(+), 1 deletion(-)

diff --git a/dev-python/pypy-bin/pypy-bin-6.0.0.ebuild 
b/dev-python/pypy-bin/pypy-bin-6.0.0.ebuild
index 312b592c270..2330fd7634d 100644
--- a/dev-python/pypy-bin/pypy-bin-6.0.0.ebuild
+++ b/dev-python/pypy-bin/pypy-bin-6.0.0.ebuild
@@ -150,7 +150,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() {

Reply via email to