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

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

index 63c1511a472f438609c27125ea9728a51edacbb8..3f036775348f7724becb5a3f720ec62b4d564363 100644 (file)
@@ -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() {
index d3d73e720f22761814c9f3cfbcdb9c6b64ec5f0b..11f050a7d0a6beee616b1aa93c41d4d1a229b6f9 100644 (file)
@@ -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() {