Patchwork compare_tests fix

login
register
mail settings
Submitter Mike Stump
Date Nov. 19, 2012, 6:19 p.m.
Message ID <8E52BD0B-DD6D-4187-90EC-B7E01682707E@comcast.net>
Download mbox | patch
Permalink /patch/200057/
State New
Headers show

Comments

Mike Stump - Nov. 19, 2012, 6:19 p.m.
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.

Patch

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