1 |
commit: 6193b030737d23148e5b131ee771ddbb52a895cb |
2 |
Author: Zac Medico <zmedico <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Mar 2 16:50:01 2016 +0000 |
4 |
Commit: Zac Medico <zmedico <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Mar 2 16:51:18 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/portage.git/commit/?id=6193b030 |
7 |
|
8 |
runtests: support pypy3 (many failures with pypy3-2.4.0-r1) |
9 |
|
10 |
runtests | 4 ++-- |
11 |
1 file changed, 2 insertions(+), 2 deletions(-) |
12 |
|
13 |
diff --git a/runtests b/runtests |
14 |
index 89c6e14..d492bc8 100755 |
15 |
--- a/runtests |
16 |
+++ b/runtests |
17 |
@@ -70,8 +70,8 @@ class Colors(object): |
18 |
|
19 |
def get_python_executable(ver): |
20 |
"""Find the right python executable for |ver|""" |
21 |
- if ver == 'pypy': |
22 |
- prog = 'pypy' |
23 |
+ if ver in ('pypy', 'pypy3'): |
24 |
+ prog = ver |
25 |
else: |
26 |
prog = 'python' + ver |
27 |
return os.path.join(EPREFIX, 'usr', 'bin', prog) |