Mercurial > hg > mercurial-crew-with-dirclash
comparison tests/run-tests.py @ 3777:037824e6d362
tests: set a default encoding for running tests (ASCII)
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Sun, 03 Dec 2006 16:16:33 -0600 |
parents | 02e9355c3420 |
children | b95a42114616 |
comparison
equal
deleted
inserted
replaced
3776:6859d049ed9c | 3777:037824e6d362 |
---|---|
330 os.environ['TZ'] = 'GMT' | 330 os.environ['TZ'] = 'GMT' |
331 | 331 |
332 os.environ["HGEDITOR"] = sys.executable + ' -c "import sys; sys.exit(0)"' | 332 os.environ["HGEDITOR"] = sys.executable + ' -c "import sys; sys.exit(0)"' |
333 os.environ["HGMERGE"] = sys.executable + ' -c "import sys; sys.exit(0)"' | 333 os.environ["HGMERGE"] = sys.executable + ' -c "import sys; sys.exit(0)"' |
334 os.environ["HGUSER"] = "test" | 334 os.environ["HGUSER"] = "test" |
335 os.environ["HGENCODING"] = "ascii" | |
336 os.environ["HGENCODINGMODE"] = "strict" | |
335 | 337 |
336 TESTDIR = os.environ["TESTDIR"] = os.getcwd() | 338 TESTDIR = os.environ["TESTDIR"] = os.getcwd() |
337 HGTMP = os.environ["HGTMP"] = tempfile.mkdtemp("", "hgtests.") | 339 HGTMP = os.environ["HGTMP"] = tempfile.mkdtemp("", "hgtests.") |
338 DAEMON_PIDS = os.environ["DAEMON_PIDS"] = os.path.join(HGTMP, 'daemon.pids') | 340 DAEMON_PIDS = os.environ["DAEMON_PIDS"] = os.path.join(HGTMP, 'daemon.pids') |
339 HGRCPATH = os.environ["HGRCPATH"] = os.path.join(HGTMP, '.hgrc') | 341 HGRCPATH = os.environ["HGRCPATH"] = os.path.join(HGTMP, '.hgrc') |