summaryrefslogtreecommitdiff
path: root/gcc/testsuite/lib/objc.exp
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 /gcc/testsuite/lib/objc.exp
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 'gcc/testsuite/lib/objc.exp')
-rw-r--r--gcc/testsuite/lib/objc.exp4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/testsuite/lib/objc.exp b/gcc/testsuite/lib/objc.exp
index e4d10e04cd2..6cba354cfc9 100644
--- a/gcc/testsuite/lib/objc.exp
+++ b/gcc/testsuite/lib/objc.exp
@@ -94,6 +94,10 @@ proc objc_init { args } {
global TOOL_EXECUTABLE
global objc_libgcc_s_path
+ # 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 { $objc_initialized == 1 } { return; }
if ![info exists OBJC_UNDER_TEST] then {