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
This commit is contained in:
Andrew Pinski 2004-11-12 19:43:57 +00:00 committed by Andrew Pinski
parent 2941ddc40c
commit 690e11b8f5
10 changed files with 49 additions and 0 deletions

View 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.

View 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;

View 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

View 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;

View 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 {

View 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 {

View 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

View 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] {

View 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,

View 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