dev-python/pypy-bin: Disable more problematic tests
authorMichał Górny <mgorny@gentoo.org>
Wed, 1 Aug 2018 13:32:47 +0000 (15:32 +0200)
committerMichał Górny <mgorny@gentoo.org>
Wed, 1 Aug 2018 13:34:21 +0000 (15:34 +0200)
Bug: https://bugs.gentoo.org/637208

dev-python/pypy-bin/pypy-bin-6.0.0.ebuild

index 312b592c2706413098a41c0b386bcda0371b021d..2330fd7634d4faf6690543c33568ed8e831adbe5 100644 (file)
@@ -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() {