This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

compare_tests fix


Recently g++ comparisons of the full log files stopped working as well as they used to, as sort is locale aware.  This defeats some of the new fangled magic that breaks comparisons.

	* compare_tests (Usage): Add export LC_ALL=C to make sort happier.

Index: compare_tests
===================================================================
--- compare_tests	(revision 193630)
+++ compare_tests	(working copy)
@@ -32,6 +32,8 @@ EOUSAGE
 # Written by Mike Stump <mrs@cygnus.com>
 # Subdir comparison added by Quentin Neill <quentin.neill@amd.com>
 
+export LC_ALL=C
+
 tool=gxx
 
 tmp1=/tmp/$tool-testing.$$a


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]