Mercurial > hg
changeset 18048:9b7288fc7bf2
run-tests: use correct python when run with --local
author | Bryan O'Sullivan <bryano@fb.com> |
---|---|
date | Mon, 10 Dec 2012 12:07:42 -0800 |
parents | 9196638b08ce |
children | 07ad75b22910 |
files | tests/run-tests.py |
diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/tests/run-tests.py Mon Dec 10 11:18:03 2012 -0800 +++ b/tests/run-tests.py Mon Dec 10 12:07:42 2012 -0800 @@ -1030,6 +1030,8 @@ if INST: installhg(options) _checkhglib("Testing") + else: + usecorrectpython() optcopy = dict(options.__dict__) optcopy['jobs'] = 1 @@ -1149,6 +1151,8 @@ if INST: installhg(options) _checkhglib("Testing") + else: + usecorrectpython() if options.restart: orig = list(tests)