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