re PR testsuite/14264 (testsuite should set LC_ALL/LANG to C)
authorAndrew Pinski <pinskia@physics.uc.edu>
Fri, 12 Nov 2004 19:43:57 +0000 (19:43 +0000)
committerAndrew Pinski <pinskia@gcc.gnu.org>
Fri, 12 Nov 2004 19:43:57 +0000 (11:43 -0800)
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

gcc/testsuite/ChangeLog
gcc/testsuite/lib/g++.exp
gcc/testsuite/lib/gcc-dg.exp
gcc/testsuite/lib/gfortran.exp
gcc/testsuite/lib/objc.exp
gcc/testsuite/lib/treelang.exp
libjava/ChangeLog
libjava/testsuite/lib/libjava.exp
libstdc++-v3/ChangeLog
libstdc++-v3/testsuite/lib/libstdc++.exp

index 7ac76f7fdcd6f11dbaa16270cfc8af4039ee1b17..853cd4a6a4821d463e3242e01f5d75480d3f9a77 100644 (file)
@@ -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.
index 22fb5d7608c58335db79dde1387a865b56594104..d591238f1394042e09cadb17f7e9a6b110f5863a 100644 (file)
@@ -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;
index 1bb5bd06b2685bfaf2124a038d31001fb95d7fa0..848526b32b9e06c934287123408478a5fe029911 100644 (file)
@@ -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
index 805b61960ce23bd4480f1162916664ef7c5cb108..1207d2b572bf64ac6bd8b7722c581b85e18a46e2 100644 (file)
@@ -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;
index e4d10e04cd24a396bdc50c2139fbfd648aa8d8bb..6cba354cfc92a9eedf7fb232edd64be9f190ed81 100644 (file)
@@ -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 {
index 57ea992d2f0835891247dd623d65ada587ed8eba..6d3777382bf21a866caf961a7e892dfe558cd216 100644 (file)
@@ -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 {
index 6d130ff2d62cbf52958fc41acfc6bb423ccacd53..1e9a691317b23375c1aa9d75904e1e2631bf3136 100644 (file)
@@ -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
index 8c79199c6144ed2ade40790ccb92b9863520332a..3e960a9545f8b95a0a6b8a1c67c1df423a99a561 100644 (file)
@@ -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] {
index 3cace9cc94a08ef6b1fa5f1230bac491f9409e8f..ff93b2df6a9b64fcd76c6b62d7a440fd5e853c98 100644 (file)
@@ -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,
index b126ef3107a507d928fabbcd1d6d492f7391a44c..c570eae132d6df5ec0f2c339cdeb6249c917a965 100644 (file)
@@ -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