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:
elfutils-devel@lists.fedorahosted.org