aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Pinski <pinskia@physics.uc.edu>2004-11-12 19:43:57 +0000
committerAndrew Pinski <pinskia@gcc.gnu.org>2004-11-12 11:43:57 -0800
commit690e11b8f57616d1a3d176d869412d8183d65fe9 (patch)
treeaa4f122c96b75d9da588cdbe5cd148ebe442e5d8
parent2941ddc40c965ec17dd12f4af234b09aa053966c (diff)
downloadgcc-690e11b8f57616d1a3d176d869412d8183d65fe9.zip
gcc-690e11b8f57616d1a3d176d869412d8183d65fe9.tar.gz
gcc-690e11b8f57616d1a3d176d869412d8183d65fe9.tar.bz2
re PR testsuite/14264 (testsuite should set LC_ALL/LANG to C)
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. From-SVN: r90539
-rw-r--r--gcc/testsuite/ChangeLog9
-rw-r--r--gcc/testsuite/lib/g++.exp4
-rw-r--r--gcc/testsuite/lib/gcc-dg.exp4
-rw-r--r--gcc/testsuite/lib/gfortran.exp4
-rw-r--r--gcc/testsuite/lib/objc.exp4
-rw-r--r--gcc/testsuite/lib/treelang.exp6
-rw-r--r--libjava/ChangeLog5
-rw-r--r--libjava/testsuite/lib/libjava.exp4
-rw-r--r--libstdc++-v3/ChangeLog5
-rw-r--r--libstdc++-v3/testsuite/lib/libstdc++.exp4
10 files changed, 49 insertions, 0 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 7ac76f7..853cd4a 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,12 @@
+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 Andreas Schwab <schwab@suse.de>
* gcc.dg/pr16286.c: Fix last change.
diff --git a/gcc/testsuite/lib/g++.exp b/gcc/testsuite/lib/g++.exp
index 22fb5d7..d591238 100644
--- a/gcc/testsuite/lib/g++.exp
+++ b/gcc/testsuite/lib/g++.exp
@@ -218,6 +218,10 @@ proc g++_init { args } {
global TESTING_IN_BUILD_TREE
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 ![info exists GXX_UNDER_TEST] then {
if [info exists TOOL_EXECUTABLE] {
set GXX_UNDER_TEST $TOOL_EXECUTABLE;
diff --git a/gcc/testsuite/lib/gcc-dg.exp b/gcc/testsuite/lib/gcc-dg.exp
index 1bb5bd0..848526b 100644
--- a/gcc/testsuite/lib/gcc-dg.exp
+++ b/gcc/testsuite/lib/gcc-dg.exp
@@ -22,6 +22,10 @@ load_lib scantree.exp
load_lib prune.exp
load_lib libgloss.exp
+# 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 ![info exists TORTURE_OPTIONS] {
# It is theoretically beneficial to group all of the O2/O3 options together,
# as in many cases the compiler will generate identical executables for
diff --git a/gcc/testsuite/lib/gfortran.exp b/gcc/testsuite/lib/gfortran.exp
index 805b619..1207d2b 100644
--- a/gcc/testsuite/lib/gfortran.exp
+++ b/gcc/testsuite/lib/gfortran.exp
@@ -161,6 +161,10 @@ proc gfortran_init { args } {
global GFORTRAN_UNDER_TEST
global TESTING_IN_BUILD_TREE
+ # 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 ![info exists GFORTRAN_UNDER_TEST] then {
if [info exists TOOL_EXECUTABLE] {
set GFORTRAN_UNDER_TEST $TOOL_EXECUTABLE;
diff --git a/gcc/testsuite/lib/objc.exp b/gcc/testsuite/lib/objc.exp
index e4d10e0..6cba354 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 {
diff --git a/gcc/testsuite/lib/treelang.exp b/gcc/testsuite/lib/treelang.exp
index 57ea992..6d37773 100644
--- a/gcc/testsuite/lib/treelang.exp
+++ b/gcc/testsuite/lib/treelang.exp
@@ -91,6 +91,12 @@ proc treelang_init { args } {
global TOOL_EXECUTABLE
global treelang_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 { $treelang_initialized == 1 } { return; }
if ![info exists TREELANG_UNDER_TEST] then {
diff --git a/libjava/ChangeLog b/libjava/ChangeLog
index 6d130ff..1e9a691 100644
--- a/libjava/ChangeLog
+++ b/libjava/ChangeLog
@@ -1,3 +1,8 @@
+2004-11-12 Andrew Pinski <pinskia@physics.uc.edu>
+
+ PR other/14264
+ * testsuite/lib/libjava.exp: Set LC_ALL and LANG to C.
+
2004-11-11 Casey Marshall <csm@gnu.org>
* gnu/java/nio/FileLock.java (isValid): locks are valid if the
diff --git a/libjava/testsuite/lib/libjava.exp b/libjava/testsuite/lib/libjava.exp
index 8c79199..3e960a9 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] {
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index 3cace9c..ff93b2d 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -1,3 +1,8 @@
+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-09 Paolo Carlini <pcarlini@suse.de>
* include/bits/locale_facets.tcc (time_get<>::do_get_weekday,
diff --git a/libstdc++-v3/testsuite/lib/libstdc++.exp b/libstdc++-v3/testsuite/lib/libstdc++.exp
index b126ef3..c570eae 100644
--- a/libstdc++-v3/testsuite/lib/libstdc++.exp
+++ b/libstdc++-v3/testsuite/lib/libstdc++.exp
@@ -84,6 +84,10 @@ proc libstdc++_init { testfile } {
global original_ld_library_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
+
set blddir [lookfor_file [get_multilibs] libstdc++-v3]
set flags_file "${blddir}/scripts/testsuite_flags"
v3track flags_file 2