run-tests: check for the correct python when starting

This commit is contained in:
Bryan O'Sullivan 2012-12-10 12:09:02 -08:00
parent ae96fc1e0d
commit 1fda6e9b5e

View File

@ -94,7 +94,8 @@ IMPL_PATH = 'PYTHONPATH'
if 'java' in sys.platform:
IMPL_PATH = 'JYTHONPATH'
requiredtools = ["python", "diff", "grep", "unzip", "gunzip", "bunzip2", "sed"]
requiredtools = [os.path.basename(sys.executable), "diff", "grep", "unzip",
"gunzip", "bunzip2", "sed"]
defaults = {
'jobs': ('HGTEST_JOBS', 1),