Mercurial > hg
diff tests/run-tests.py @ 31048:23bcfdd76f96
tests: make test suite more immune to environment variables
Plenty of tests break when "make tests" is run while environment
variables "HGPLAIN" or "HGPLAINEXCEPT" are set (test "test-obsolete-
checkheads.t" is just a single example).
This patch causes script "run-tests.py" to also remove these two
variables from the environment the tests are executed in.
author | Dr Rainer Woitok <rainer.woitok@gmail.com> |
---|---|
date | Mon, 20 Feb 2017 18:27:29 +0100 |
parents | 01eebb65a61d |
children | ac47df82bdba |
line wrap: on
line diff
--- a/tests/run-tests.py Mon Feb 06 23:08:49 2017 -0500 +++ b/tests/run-tests.py Mon Feb 20 18:27:29 2017 +0100 @@ -906,6 +906,7 @@ env['TERM'] = 'xterm' for k in ('HG HGPROF CDPATH GREP_OPTIONS http_proxy no_proxy ' + + 'HGPLAIN HGPLAINEXCEPT ' + 'NO_PROXY CHGDEBUG').split(): if k in env: del env[k]