tests/run-tests.py
branchstable
changeset 1169 28f06763bfb2
parent 1168 96a0960a7909
child 1170 2fb2b92583e4
--- a/tests/run-tests.py	Mon Dec 10 12:07:42 2012 -0800
+++ b/tests/run-tests.py	Mon Dec 10 12:09:02 2012 -0800
@@ -94,7 +94,8 @@
 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),