This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[RFC/RFA] Run tests with LC_ALL=C
- From: David Ayers <d dot ayers at inode dot at>
- To: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Thu, 01 Jul 2004 19:08:45 +0200
- Subject: [RFC/RFA] Run tests with LC_ALL=C
Hello,
almost every time I setup GCC bootstraps on a new machine I forget to
change my locale settings before running the test suite. This then
causes several failures due to localized messages. Is there any reason
why something like this patch can't be applied?
Cheers,
David Ayers
2004-07-01 David Ayers <d.ayers@inode.at>
* Makefile.in (lang_checks, check-consistency): Set LC_ALL to C.
Index: gcc/Makefile.in
===================================================================
RCS file: /cvsroot/gcc/gcc/gcc/Makefile.in,v
retrieving revision 1.1316
diff -u -r1.1316 Makefile.in
--- gcc/Makefile.in 1 Jul 2004 04:08:57 -0000 1.1316
+++ gcc/Makefile.in 1 Jul 2004 16:33:46 -0000
@@ -3474,6 +3474,7 @@
srcdir=`cd ${srcdir}; ${PWD_COMMAND}` ; export srcdir ; \
cd $(TESTSUITEDIR); \
EXPECT=${EXPECT} ; export EXPECT ; \
+ LC_ALL=C ; export LC_ALL ; \
if [ -f $${rootme}/../expect/expect ] ; then \
TCL_LIBRARY=`cd .. ; cd ${srcdir}/../tcl/library ; ${PWD_COMMAND}` ; \
export TCL_LIBRARY ; fi ; \
@@ -3484,6 +3485,7 @@
srcdir=`cd ${srcdir}; ${PWD_COMMAND}` ; export srcdir ; \
cd testsuite; \
EXPECT=${EXPECT} ; export EXPECT ; \
+ LC_ALL=C ; export LC_ALL ; \
if [ -f $${rootme}/../expect/expect ] ; then \
TCL_LIBRARY=`cd .. ; cd ${srcdir}/../tcl/library ; ${PWD_COMMAND}` ; \
export TCL_LIBRARY ; fi ; \