Mercurial > hg
comparison tests/run-tests.py @ 10903:cd21bf199d17
merge with stable
author | Benoit Boissinot <benoit.boissinot@ens-lyon.org> |
---|---|
date | Wed, 14 Apr 2010 09:09:43 +0200 |
parents | afbcea270bb8 4eb6311d217a |
children | 13a1b2fb7ef2 |
comparison
equal
deleted
inserted
replaced
10900:cf016c9831d1 | 10903:cd21bf199d17 |
---|---|
850 os.environ['CDPATH'] = '' | 850 os.environ['CDPATH'] = '' |
851 os.environ['COLUMNS'] = '80' | 851 os.environ['COLUMNS'] = '80' |
852 os.environ['GREP_OPTIONS'] = '' | 852 os.environ['GREP_OPTIONS'] = '' |
853 os.environ['http_proxy'] = '' | 853 os.environ['http_proxy'] = '' |
854 | 854 |
855 # unset env related to hooks | |
856 for k in os.environ.keys(): | |
857 if k.startswith('HG_'): | |
858 del os.environ[k] | |
859 | |
855 global TESTDIR, HGTMP, INST, BINDIR, PYTHONDIR, COVERAGE_FILE | 860 global TESTDIR, HGTMP, INST, BINDIR, PYTHONDIR, COVERAGE_FILE |
856 TESTDIR = os.environ["TESTDIR"] = os.getcwd() | 861 TESTDIR = os.environ["TESTDIR"] = os.getcwd() |
857 if options.tmpdir: | 862 if options.tmpdir: |
858 options.keep_tmpdir = True | 863 options.keep_tmpdir = True |
859 tmpdir = options.tmpdir | 864 tmpdir = options.tmpdir |