This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: test failures due to quote marks
- From: "Joseph S. Myers" <jsm at polyomino dot org dot uk>
- To: Nathan Sidwell <nathan at codesourcery dot com>
- Cc: gcc-bugs at gcc dot gnu dot org, Gabriel Dos Reis <gdr at acm dot org>
- Date: Fri, 22 Oct 2004 18:48:43 +0000 (UTC)
- Subject: Re: test failures due to quote marks
- References: <417943F5.3060204@codesourcery.com>
On Fri, 22 Oct 2004, Nathan Sidwell wrote:
> Today I had a load of test failures, which AFAICT stem from the
> diagnostics being emitted with 0x321 & 0x322 quote marks rather than
> regular ` and ' marks. I don't think I've changed anything in my
> environment -- it's building a pristine tree in the same shell that worked
> yesterday.
The patch to define HAVE_LANGINFO_CODESET went in, so now UTF-8 LC_CTYPE
gets proper quotes in English messages.
If the testsuite doesn't run with LC_ALL=C, something must be broken - I'd
just presumed that any testsuite harness testing diagnostics would have
set LC_ALL=C for years to avoid failing when translations are used. But
absent that, LC_ALL=C should be set for make check.
The easiest place to set LC_ALL for running the testsuite is probably in
gcc/Makefile.in where other environment variables are set for the
testsuite, though there may be a "right" place in the dejagnu files
somewhere.
--
Joseph S. Myers http://www.srcf.ucam.org/~jsm28/gcc/
jsm@polyomino.org.uk (personal mail)
joseph@codesourcery.com (CodeSourcery mail)
jsm28@gcc.gnu.org (Bugzilla assignments and CCs)