aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatti Picus <matti.picus@gmail.com>2020-02-13 07:21:27 +0200
committerMatti Picus <matti.picus@gmail.com>2020-02-13 07:21:27 +0200
commit632a201ad908616d46b3b6c19246c3579972ce64 (patch)
treeb2e4e508f00858deb08cd7f2fee9b06c1d863ea6 /testrunner
parentdon't generate tons and tons of guard_not_invalidated while tracing (diff)
downloadpypy-632a201ad908616d46b3b6c19246c3579972ce64.tar.gz
pypy-632a201ad908616d46b3b6c19246c3579972ce64.tar.bz2
pypy-632a201ad908616d46b3b6c19246c3579972ce64.zip
virtualenv 20 seems to have changed the name of the target
Diffstat (limited to 'testrunner')
-rw-r--r--testrunner/get_info.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/testrunner/get_info.py b/testrunner/get_info.py
index 6371db238c..53af6622c7 100644
--- a/testrunner/get_info.py
+++ b/testrunner/get_info.py
@@ -10,17 +10,19 @@ import json
BASE_DIR = os.path.abspath(os.path.dirname(os.path.dirname(__file__)))
if sys.platform.startswith('win'):
TARGET_NAME = 'pypy-c.exe'
+ VENV_TARGET = 'pypy.exe'
# PyPy uses bin as of PR https://github.com/pypa/virtualenv/pull/1400
TARGET_DIR = 'bin'
else:
TARGET_NAME = 'pypy-c'
+ VENV_TARGET = 'pypy'
TARGET_DIR = 'bin'
VENV_DIR = 'pypy-venv'
def make_info_dict():
target_path = os.path.join(BASE_DIR, 'pypy', 'goal', TARGET_NAME)
return {'target_path': target_path,
- 'virt_pypy': os.path.join(VENV_DIR, TARGET_DIR, TARGET_NAME),
+ 'virt_pypy': os.path.join(VENV_DIR, TARGET_DIR, VENV_TARGET),
'venv_dir': VENV_DIR,
'project': 'PyPy', # for benchmarks
}