diff options
author | davek <davek@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-11-30 23:30:57 +0000 |
---|---|---|
committer | davek <davek@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-11-30 23:30:57 +0000 |
commit | 9cf0a538b2aa5f193a0e22b3ebadce256b0cd081 (patch) | |
tree | 5c244f06d63959c8412be7158f6dd8c8d212e391 | |
parent | dd9d9ac28b56faa0c480877b29e1a74fb856214f (diff) | |
download | gcc-9cf0a538b2aa5f193a0e22b3ebadce256b0cd081.tar.gz |
libgomp/ChangeLog
2009-11-30 Dave Korn <dave.korn.cygwin@gmail.com>
* testsuite/lib/libgomp.exp (libgomp_init): Add host-dependent
settings for LC_ALL and LANG.
gcc/testsuite/ChangeLog
2009-11-30 Dave Korn <dave.korn.cygwin@gmail.com>
* lib/g++.exp (g++_init): Add host-dependent settings for
LC_ALL and LANG.
* lib/gcc-dg.exp: Likewise.
* lib/options.exp: Likewise.
* lib/objc.exp (objc_init): Likewise.
* lib/gfortran.exp (gfortran_init): Likewise.
libjava/ChangeLog
2009-11-30 Dave Korn <dave.korn.cygwin@gmail.com>
* testsuite/lib/libjava.exp (libjava_init): Add host-dependent
settings for LC_ALL and LANG.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@154854 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r-- | gcc/testsuite/ChangeLog | 9 | ||||
-rw-r--r-- | gcc/testsuite/lib/g++.exp | 7 | ||||
-rw-r--r-- | gcc/testsuite/lib/gcc-dg.exp | 7 | ||||
-rw-r--r-- | gcc/testsuite/lib/gfortran.exp | 7 | ||||
-rw-r--r-- | gcc/testsuite/lib/objc.exp | 7 | ||||
-rw-r--r-- | gcc/testsuite/lib/options.exp | 7 | ||||
-rw-r--r-- | libgomp/ChangeLog | 5 | ||||
-rw-r--r-- | libgomp/testsuite/lib/libgomp.exp | 7 | ||||
-rw-r--r-- | libjava/ChangeLog | 5 | ||||
-rw-r--r-- | libjava/testsuite/lib/libjava.exp | 7 |
10 files changed, 68 insertions, 0 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index a7d248f4750..e97ca5a0fc9 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,12 @@ +2009-11-30 Dave Korn <dave.korn.cygwin@gmail.com> + + * lib/g++.exp (g++_init): Add host-dependent settings for + LC_ALL and LANG. + * lib/gcc-dg.exp: Likewise. + * lib/options.exp: Likewise. + * lib/objc.exp (objc_init): Likewise. + * lib/gfortran.exp (gfortran_init): Likewise. + 2009-11-30 Paolo Carlini <paolo.carlini@oracle.com> PR c++/40371 diff --git a/gcc/testsuite/lib/g++.exp b/gcc/testsuite/lib/g++.exp index a5f26800c1c..df6030b568c 100644 --- a/gcc/testsuite/lib/g++.exp +++ b/gcc/testsuite/lib/g++.exp @@ -193,6 +193,13 @@ proc g++_init { args } { setenv LC_ALL C setenv LANG C + # Many hosts now default to a non-ASCII C locale, however, so + # they can set a charset encoding here if they need. + if { [ishost "*-*-cygwin*"] } { + setenv LC_ALL C.ASCII + setenv LANG C.ASCII + } + 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 4acfdfec8ff..512144a6aa6 100644 --- a/gcc/testsuite/lib/gcc-dg.exp +++ b/gcc/testsuite/lib/gcc-dg.exp @@ -34,6 +34,13 @@ load_lib torture-options.exp setenv LC_ALL C setenv LANG C +# Many hosts now default to a non-ASCII C locale, however, so +# they can set a charset encoding here if they need. +if { [ishost "*-*-cygwin*"] } { + setenv LC_ALL C.ASCII + setenv LANG C.ASCII +} + if [info exists TORTURE_OPTIONS] { set DG_TORTURE_OPTIONS $TORTURE_OPTIONS } else { diff --git a/gcc/testsuite/lib/gfortran.exp b/gcc/testsuite/lib/gfortran.exp index a4d6e2b5d38..56aef298776 100644 --- a/gcc/testsuite/lib/gfortran.exp +++ b/gcc/testsuite/lib/gfortran.exp @@ -136,6 +136,13 @@ proc gfortran_init { args } { setenv LC_ALL C setenv LANG C + # Many hosts now default to a non-ASCII C locale, however, so + # they can set a charset encoding here if they need. + if { [ishost "*-*-cygwin*"] } { + setenv LC_ALL C.ASCII + setenv LANG C.ASCII + } + 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 934f31dabdc..9d7bac0b03b 100644 --- a/gcc/testsuite/lib/objc.exp +++ b/gcc/testsuite/lib/objc.exp @@ -102,6 +102,13 @@ proc objc_init { args } { setenv LC_ALL C setenv LANG C + # Many hosts now default to a non-ASCII C locale, however, so + # they can set a charset encoding here if they need. + if { [ishost "*-*-cygwin*"] } { + setenv LC_ALL C.ASCII + setenv LANG C.ASCII + } + if { $objc_initialized == 1 } { return; } if ![info exists OBJC_UNDER_TEST] then { diff --git a/gcc/testsuite/lib/options.exp b/gcc/testsuite/lib/options.exp index 18359023228..ab4819343f7 100644 --- a/gcc/testsuite/lib/options.exp +++ b/gcc/testsuite/lib/options.exp @@ -18,6 +18,13 @@ setenv LC_ALL C setenv LANG C +# Many hosts now default to a non-ASCII C locale, however, so +# they can set a charset encoding here if they need. +if { [ishost "*-*-cygwin*"] } { + setenv LC_ALL C.ASCII + setenv LANG C.ASCII +} + # Run the LANGUAGE compiler with GCC_OPTIONS and inspect the compiler # output to make sure that they match the newline-separated patterns # in COMPILER_PATTERNS but not the patterns in COMPILER_NON_PATTERNS. diff --git a/libgomp/ChangeLog b/libgomp/ChangeLog index 070d82f2ac8..175926d3cad 100644 --- a/libgomp/ChangeLog +++ b/libgomp/ChangeLog @@ -1,3 +1,8 @@ +2009-11-30 Dave Korn <dave.korn.cygwin@gmail.com> + + * testsuite/lib/libgomp.exp (libgomp_init): Add host-dependent + settings for LC_ALL and LANG. + 2009-11-25 Jakub Jelinek <jakub@redhat.com> PR fortran/42162 diff --git a/libgomp/testsuite/lib/libgomp.exp b/libgomp/testsuite/lib/libgomp.exp index 972d4a1fdd3..0c8e49f8d85 100644 --- a/libgomp/testsuite/lib/libgomp.exp +++ b/libgomp/testsuite/lib/libgomp.exp @@ -66,6 +66,13 @@ proc libgomp_init { args } { setenv LC_ALL C setenv LANG C + # Many hosts now default to a non-ASCII C locale, however, so + # they can set a charset encoding here if they need. + if { [ishost "*-*-cygwin*"] } { + setenv LC_ALL C.ASCII + setenv LANG C.ASCII + } + if ![info exists GCC_UNDER_TEST] then { if [info exists TOOL_EXECUTABLE] { set GCC_UNDER_TEST $TOOL_EXECUTABLE diff --git a/libjava/ChangeLog b/libjava/ChangeLog index 57b5fe21f0f..2f1f8b6a087 100644 --- a/libjava/ChangeLog +++ b/libjava/ChangeLog @@ -1,3 +1,8 @@ +2009-11-30 Dave Korn <dave.korn.cygwin@gmail.com> + + * testsuite/lib/libjava.exp (libjava_init): Add host-dependent + settings for LC_ALL and LANG. + 2009-11-30 Ben Elliston <bje@au.ibm.com> * jni.cc (_Jv_JNI_GetObjectRefType): Mark `object' parameter as diff --git a/libjava/testsuite/lib/libjava.exp b/libjava/testsuite/lib/libjava.exp index 510e4ac80d8..b05c56843cc 100644 --- a/libjava/testsuite/lib/libjava.exp +++ b/libjava/testsuite/lib/libjava.exp @@ -145,6 +145,13 @@ proc libjava_init { args } { setenv LC_ALL C setenv LANG C + # Many hosts now default to a non-ASCII C locale, however, so + # they can set a charset encoding here if they need. + if { [ishost "*-*-cygwin*"] } { + setenv LC_ALL C.ASCII + setenv LANG C.ASCII + } + if { $libjava_initialized == 1 } { return; } if ![info exists GCJ_UNDER_TEST] { |