Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pypy/
Date: Wed, 01 Aug 2018 13:34:38
Message-Id: 1533130461.34ad2d0e9058bd186d3239d8d4401678ddde8642.mgorny@gentoo
1 commit: 34ad2d0e9058bd186d3239d8d4401678ddde8642
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Wed Aug 1 13:33:10 2018 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Wed Aug 1 13:34:21 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=34ad2d0e
7
8 dev-python/pypy: Disable more problematic tests
9
10 Bug: https://bugs.gentoo.org/654242
11
12 dev-python/pypy/pypy-6.0.0.ebuild | 13 ++++++++++++-
13 dev-python/pypy/pypy-9999.ebuild | 13 ++++++++++++-
14 2 files changed, 24 insertions(+), 2 deletions(-)
15
16 diff --git a/dev-python/pypy/pypy-6.0.0.ebuild b/dev-python/pypy/pypy-6.0.0.ebuild
17 index 63c1511a472..3f036775348 100644
18 --- a/dev-python/pypy/pypy-6.0.0.ebuild
19 +++ b/dev-python/pypy/pypy-6.0.0.ebuild
20 @@ -228,7 +228,18 @@ src_test() {
21 # (unset)
22 local -x PYTHONDONTWRITEBYTECODE=
23
24 - ./pypy-c ./pypy/test_all.py --pypy=./pypy-c -vv lib-python || die
25 + local ignored_tests=(
26 + # network
27 + --ignore=lib-python/2.7/test/test_urllibnet.py
28 + --ignore=lib-python/2.7/test/test_urllib2net.py
29 + # lots of free space
30 + --ignore=lib-python/2.7/test/test_zipfile64.py
31 + # no module named 'worker' -- a lot
32 + --ignore=lib-python/2.7/test/test_xpickle.py
33 + )
34 +
35 + ./pypy-c ./pypy/test_all.py --pypy=./pypy-c -vv \
36 + "${ignored_tests[@]}" lib-python || die
37 }
38
39 src_install() {
40
41 diff --git a/dev-python/pypy/pypy-9999.ebuild b/dev-python/pypy/pypy-9999.ebuild
42 index d3d73e720f2..11f050a7d0a 100644
43 --- a/dev-python/pypy/pypy-9999.ebuild
44 +++ b/dev-python/pypy/pypy-9999.ebuild
45 @@ -234,7 +234,18 @@ src_test() {
46 # (unset)
47 local -x PYTHONDONTWRITEBYTECODE=
48
49 - ./pypy-c ./pypy/test_all.py --pypy=./pypy-c -vv lib-python || die
50 + local ignored_tests=(
51 + # network
52 + --ignore=lib-python/2.7/test/test_urllibnet.py
53 + --ignore=lib-python/2.7/test/test_urllib2net.py
54 + # lots of free space
55 + --ignore=lib-python/2.7/test/test_zipfile64.py
56 + # no module named 'worker' -- a lot
57 + --ignore=lib-python/2.7/test/test_xpickle.py
58 + )
59 +
60 + ./pypy-c ./pypy/test_all.py --pypy=./pypy-c -vv \
61 + "${ignored_tests[@]}" lib-python || die
62 }
63
64 src_install() {