libstdc++.exp (libstdc++_init): Unset LANGUAGE environment variable.

* testsuite/lib/libstdc++.exp (libstdc++_init): Unset LANGUAGE
	environment variable.

From-SVN: r223937
This commit is contained in:
Jonathan Wakely 2015-06-01 12:57:33 +01:00 committed by Jonathan Wakely
parent cb0edc3993
commit 77d0ed47e8
2 changed files with 9 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2015-06-01 Jonathan Wakely <jwakely@redhat.com>
* testsuite/lib/libstdc++.exp (libstdc++_init): Unset LANGUAGE
environment variable.
2015-05-31 Jonathan Wakely <jwakely@redhat.com>
PR libstdc++/66354

View File

@ -107,6 +107,10 @@ proc libstdc++_init { testfile } {
setenv LC_ALL C
setenv LANG C
# LANGUAGE changes the behavior of GNU gettext(3) and causes
# std::messages tests to fail.
array unset env LANGUAGE
# Many hosts now default to a non-ASCII C locale, however, so
# they can set a charset encoding here if they need.
if { [ishost "*-*-cygwin*"] } {