tests/run-tests.py
branchstable
changeset 1218 d29df508e187
parent 1216 192cebcd59a0
child 1219 cefcbbc5502c
equal deleted inserted replaced
1216:192cebcd59a0 1218:d29df508e187
  1275             del os.environ[k]
  1275             del os.environ[k]
  1276     if 'HG' in os.environ:
  1276     if 'HG' in os.environ:
  1277         # can't remove on solaris
  1277         # can't remove on solaris
  1278         os.environ['HG'] = ''
  1278         os.environ['HG'] = ''
  1279         del os.environ['HG']
  1279         del os.environ['HG']
       
  1280     if 'HGPROF' in os.environ:
       
  1281         os.environ['HGPROF'] = ''
       
  1282         del os.environ['HGPROF']
  1280 
  1283 
  1281     global TESTDIR, HGTMP, INST, BINDIR, PYTHONDIR, COVERAGE_FILE
  1284     global TESTDIR, HGTMP, INST, BINDIR, PYTHONDIR, COVERAGE_FILE
  1282     TESTDIR = os.environ["TESTDIR"] = os.getcwd()
  1285     TESTDIR = os.environ["TESTDIR"] = os.getcwd()
  1283     if options.tmpdir:
  1286     if options.tmpdir:
  1284         options.keep_tmpdir = True
  1287         options.keep_tmpdir = True