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:
Dave Korn 2009-12-01 00:09:30 +00:00 committed by Dave Korn
parent 5751cf6fef
commit 14c4d1271e
2 changed files with 12 additions and 0 deletions

View File

@ -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

View File

@ -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