aboutsummaryrefslogtreecommitdiff
path: root/libstdc++-v3
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2015-06-01 12:57:33 +0100
committerJonathan Wakely <redi@gcc.gnu.org>2015-06-01 12:57:33 +0100
commit77d0ed47e8de23f420106907194671ad85bdc866 (patch)
treea442267f90f69f4405bdc6d9fe7b3110dbe3cf4d /libstdc++-v3
parentcb0edc3993d3b575fe0bcb2e48f492a144dd70e1 (diff)
downloadgcc-77d0ed47e8de23f420106907194671ad85bdc866.zip
gcc-77d0ed47e8de23f420106907194671ad85bdc866.tar.gz
gcc-77d0ed47e8de23f420106907194671ad85bdc866.tar.bz2
libstdc++.exp (libstdc++_init): Unset LANGUAGE environment variable.
* testsuite/lib/libstdc++.exp (libstdc++_init): Unset LANGUAGE environment variable. From-SVN: r223937
Diffstat (limited to 'libstdc++-v3')
-rw-r--r--libstdc++-v3/ChangeLog5
-rw-r--r--libstdc++-v3/testsuite/lib/libstdc++.exp4
2 files changed, 9 insertions, 0 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index 599a3fb..0693ce9 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -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
diff --git a/libstdc++-v3/testsuite/lib/libstdc++.exp b/libstdc++-v3/testsuite/lib/libstdc++.exp
index 7d8f282..d60062d 100644
--- a/libstdc++-v3/testsuite/lib/libstdc++.exp
+++ b/libstdc++-v3/testsuite/lib/libstdc++.exp
@@ -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*"] } {