summaryrefslogtreecommitdiff
path: root/libjava/testsuite/lib
diff options
context:
space:
mode:
authorpinskia <pinskia@138bc75d-0d04-0410-961f-82ee72b054a4>2004-11-12 19:43:57 +0000
committerpinskia <pinskia@138bc75d-0d04-0410-961f-82ee72b054a4>2004-11-12 19:43:57 +0000
commite899394fb23ac27aa81b27136052a13e7f2b840d (patch)
treeaa4f122c96b75d9da588cdbe5cd148ebe442e5d8 /libjava/testsuite/lib
parent9bb06fc7fd7c58cc57cf084b8436cac71b99071f (diff)
downloadgcc-e899394fb23ac27aa81b27136052a13e7f2b840d.tar.gz
2004-11-12 Andrew Pinski <pinskia@physics.uc.edu>
PR other/14264 * lib/g++.exp: Set LC_ALL and LANG to C. * lib/gcc-dg.exp: Likewise. * lib/gfortran.exp: Likewise. * lib/objc.exp: Likewise. * lib/treelang.exp: Likewise. 2004-11-12 Andrew Pinski <pinskia@physics.uc.edu> PR other/14264 * testsuite/lib/libstdc++.exp: Set LC_ALL and LANG to C. 2004-11-12 Andrew Pinski <pinskia@physics.uc.edu> PR other/14264 * testsuite/lib/libjava.exp: Set LC_ALL and LANG to C. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@90539 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/testsuite/lib')
-rw-r--r--libjava/testsuite/lib/libjava.exp4
1 files changed, 4 insertions, 0 deletions
diff --git a/libjava/testsuite/lib/libjava.exp b/libjava/testsuite/lib/libjava.exp
index 8c79199c614..3e960a9545f 100644
--- a/libjava/testsuite/lib/libjava.exp
+++ b/libjava/testsuite/lib/libjava.exp
@@ -140,6 +140,10 @@ proc libjava_init { args } {
global libjava_libgcc_s_path
global target_triplet
+ # We set LC_ALL and LANG to C so that we get the same error messages as expected.
+ setenv LC_ALL C
+ setenv LANG C
+
if { $libjava_initialized == 1 } { return; }
if ![info exists GCJ_UNDER_TEST] {