libstdc++.exp (libstdc++_init): Add host-dependent settings for LC_ALL and LANG.
2009-11-30 Dave Korn <dave.korn.cygwin@gmail.com> * testsuite/lib/libstdc++.exp (libstdc++_init): Add host-dependent settings for LC_ALL and LANG. From-SVN: r154856
This commit is contained in:
parent
5751cf6fef
commit
14c4d1271e
2 changed files with 12 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
|||
2009-11-30 Dave Korn <dave.korn.cygwin@gmail.com>
|
||||
|
||||
* testsuite/lib/libstdc++.exp (libstdc++_init): Add host-dependent
|
||||
settings for LC_ALL and LANG.
|
||||
|
||||
2009-11-30 Dave Korn <dave.korn.cygwin@gmail.com>
|
||||
|
||||
* libstdc++-v3/acinclude.m4 (GLIBCXX_ENABLE_SYMVERS): Don't disable
|
||||
|
|
|
@ -97,6 +97,13 @@ proc libstdc++_init { testfile } {
|
|||
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
|
||||
}
|
||||
|
||||
set blddir [lookfor_file [get_multilibs] libstdc++-v3]
|
||||
set flags_file "${blddir}/scripts/testsuite_flags"
|
||||
v3track flags_file 2
|
||||
|
|
Loading…
Add table
Reference in a new issue