tests/run-tests.py
changeset 17541 3e3dfa7e6864
parent 17464 eddfb9a550d0
child 17739 5b08e8b7ab00
equal deleted inserted replaced
17540:f2bcc5975f10 17541:3e3dfa7e6864
  1209     for k in os.environ.keys():
  1209     for k in os.environ.keys():
  1210         if k.startswith('HG_'):
  1210         if k.startswith('HG_'):
  1211             # can't remove on solaris
  1211             # can't remove on solaris
  1212             os.environ[k] = ''
  1212             os.environ[k] = ''
  1213             del os.environ[k]
  1213             del os.environ[k]
       
  1214     if 'HG' in os.environ:
       
  1215         # can't remove on solaris
       
  1216         os.environ['HG'] = ''
       
  1217         del os.environ['HG']
  1214 
  1218 
  1215     global TESTDIR, HGTMP, INST, BINDIR, PYTHONDIR, COVERAGE_FILE
  1219     global TESTDIR, HGTMP, INST, BINDIR, PYTHONDIR, COVERAGE_FILE
  1216     TESTDIR = os.environ["TESTDIR"] = os.getcwd()
  1220     TESTDIR = os.environ["TESTDIR"] = os.getcwd()
  1217     if options.tmpdir:
  1221     if options.tmpdir:
  1218         options.keep_tmpdir = True
  1222         options.keep_tmpdir = True