tests/run-tests.py
branchstable
changeset 728 5df6643c39e9
parent 726 f7050b041b5f
child 739 886e85e1a172
equal deleted inserted replaced
726:f7050b041b5f 728:5df6643c39e9
   853     os.environ['http_proxy'] = ''
   853     os.environ['http_proxy'] = ''
   854 
   854 
   855     # unset env related to hooks
   855     # unset env related to hooks
   856     for k in os.environ.keys():
   856     for k in os.environ.keys():
   857         if k.startswith('HG_'):
   857         if k.startswith('HG_'):
       
   858             # can't remove on solaris
       
   859             os.environ[k] = ''
   858             del os.environ[k]
   860             del os.environ[k]
   859 
   861 
   860     global TESTDIR, HGTMP, INST, BINDIR, PYTHONDIR, COVERAGE_FILE
   862     global TESTDIR, HGTMP, INST, BINDIR, PYTHONDIR, COVERAGE_FILE
   861     TESTDIR = os.environ["TESTDIR"] = os.getcwd()
   863     TESTDIR = os.environ["TESTDIR"] = os.getcwd()
   862     if options.tmpdir:
   864     if options.tmpdir: