Mercurial > hg
comparison tests/run-tests.py @ 9931:a0680daed7b2 stable
run-tests: LANGUAGE may make tests fail
author | Wagner Bruna <wbruna@softwareexpress.com.br> |
---|---|
date | Tue, 24 Nov 2009 13:55:13 -0200 |
parents | 38deec407f8d |
children | 5c990169c02d 251812d34c08 |
comparison
equal
deleted
inserted
replaced
9897:97eda2133a9b | 9931:a0680daed7b2 |
---|---|
775 | 775 |
776 checktools() | 776 checktools() |
777 | 777 |
778 # Reset some environment variables to well-known values so that | 778 # Reset some environment variables to well-known values so that |
779 # the tests produce repeatable output. | 779 # the tests produce repeatable output. |
780 os.environ['LANG'] = os.environ['LC_ALL'] = 'C' | 780 os.environ['LANG'] = os.environ['LC_ALL'] = os.environ['LANGUAGE'] = 'C' |
781 os.environ['TZ'] = 'GMT' | 781 os.environ['TZ'] = 'GMT' |
782 os.environ["EMAIL"] = "Foo Bar <foo.bar@example.com>" | 782 os.environ["EMAIL"] = "Foo Bar <foo.bar@example.com>" |
783 os.environ['CDPATH'] = '' | 783 os.environ['CDPATH'] = '' |
784 | 784 |
785 global TESTDIR, HGTMP, INST, BINDIR, PYTHONDIR, COVERAGE_FILE | 785 global TESTDIR, HGTMP, INST, BINDIR, PYTHONDIR, COVERAGE_FILE |