From dbbc67a97ace66c3adc299f26261fdec99d0c0d6 Mon Sep 17 00:00:00 2001 From: Mark Wielaard Date: Fri, 11 May 2012 12:57:57 +0200 Subject: [PATCH] TESTS_ENVIRONMENT set LC_ALL and LANG to C. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Some tests rely on sort order and output of tools that might be localized. Reported-by: Paweł Sikora --- tests/ChangeLog | 4 ++++ tests/Makefile.am | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/tests/ChangeLog b/tests/ChangeLog index 4c6e9f7f8..841742d53 100644 --- a/tests/ChangeLog +++ b/tests/ChangeLog @@ -1,3 +1,7 @@ +2012-05-11 Mark Wielaard + + * Makefile.am (TESTS_ENVIRONMENT): Set LC_ALL and LANG to C. + 2012-05-07 Mark Wielaard * low_high_pc.c: Allow highpc == lowpc for CU DIEs for buggy GCC. diff --git a/tests/Makefile.am b/tests/Makefile.am index 61247e467..660791cb9 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -169,13 +169,14 @@ EXTRA_DIST = run-arextract.sh run-arsymtest.sh \ installed_TESTS_ENVIRONMENT = libdir=$(DESTDIR)$(libdir) \ bindir=$(DESTDIR)$(bindir) \ + LC_ALL=C LANG=C \ $(srcdir)/test-wrapper.sh \ installed $(tests_rpath) \ $(program_transform_name) if STANDALONE TESTS_ENVIRONMENT = $(installed_TESTS_ENVIRONMENT) else !STANDALONE -TESTS_ENVIRONMENT = $(srcdir)/test-wrapper.sh \ +TESTS_ENVIRONMENT = LC_ALL=C LANG=C $(srcdir)/test-wrapper.sh \ ../libdw:../backends:../libelf:../libasm installcheck-local: -- 2.47.2