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 /libgomp/testsuite | |
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
Diffstat (limited to 'libgomp/testsuite')
-rw-r--r-- | libgomp/testsuite/lib/libgomp.exp | 7 |
1 files changed, 7 insertions, 0 deletions
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 |