92 PYTHON = sys.executable.replace('\\', '/') |
92 PYTHON = sys.executable.replace('\\', '/') |
93 IMPL_PATH = 'PYTHONPATH' |
93 IMPL_PATH = 'PYTHONPATH' |
94 if 'java' in sys.platform: |
94 if 'java' in sys.platform: |
95 IMPL_PATH = 'JYTHONPATH' |
95 IMPL_PATH = 'JYTHONPATH' |
96 |
96 |
97 requiredtools = ["python", "diff", "grep", "unzip", "gunzip", "bunzip2", "sed"] |
97 requiredtools = [os.path.basename(sys.executable), "diff", "grep", "unzip", |
|
98 "gunzip", "bunzip2", "sed"] |
98 |
99 |
99 defaults = { |
100 defaults = { |
100 'jobs': ('HGTEST_JOBS', 1), |
101 'jobs': ('HGTEST_JOBS', 1), |
101 'timeout': ('HGTEST_TIMEOUT', 180), |
102 'timeout': ('HGTEST_TIMEOUT', 180), |
102 'port': ('HGTEST_PORT', 20059), |
103 'port': ('HGTEST_PORT', 20059), |