aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
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
}