tests/run-tests.py
branchstable
changeset 1169 28f06763bfb2
parent 1168 96a0960a7909
child 1170 2fb2b92583e4
equal deleted inserted replaced
1168:96a0960a7909 1169:28f06763bfb2
    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),