This is the mail archive of the
elfutils-devel@sourceware.org
mailing list for the elfutils project.
FYI small test environment tweak
- From: Mark Wielaard <mjw at redhat dot com>
- To: elfutils-devel at lists dot fedorahosted dot org
- Date: Fri, 11 May 2012 13:08:56 +0200
- Subject: FYI small test environment tweak
I pushed the following:
commit dbbc67a97ace66c3adc299f26261fdec99d0c0d6
Author: Mark Wielaard <mjw@redhat.com>
Date: Fri May 11 12:57:57 2012 +0200
TESTS_ENVIRONMENT set LC_ALL and LANG to C.
Some tests rely on sort order and output of tools that might be localized.
Reported-by: Paweł Sikora <pluto@pld-linux.org>
diff --git a/tests/ChangeLog b/tests/ChangeLog
index 4c6e9f7..841742d 100644
--- a/tests/ChangeLog
+++ b/tests/ChangeLog
@@ -1,3 +1,7 @@
+2012-05-11 Mark Wielaard <mjw@redhat.com>
+
+ * Makefile.am (TESTS_ENVIRONMENT): Set LC_ALL and LANG to C.
+
2012-05-07 Mark Wielaard <mjw@redhat.com>
* low_high_pc.c: Allow highpc == lowpc for CU DIEs for buggy GCC.
diff --git a/tests/Makefile.am b/tests/Makefile.am
index 61247e4..660791c 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: