diff options
author | Mark Wielaard <mjw@redhat.com> | 2012-05-11 12:57:57 +0200 |
---|---|---|
committer | Mark Wielaard <mjw@redhat.com> | 2012-05-11 12:57:57 +0200 |
commit | dbbc67a97ace66c3adc299f26261fdec99d0c0d6 (patch) | |
tree | fd0ce13f35a27fe346d12e6f842b62ef3bdccb56 | |
parent | 36aa5987df20c340fdfc584e04f4b3931a89abbd (diff) |
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>
-rw-r--r-- | tests/ChangeLog | 4 | ||||
-rw-r--r-- | tests/Makefile.am | 3 |
2 files changed, 6 insertions, 1 deletions
diff --git a/tests/ChangeLog b/tests/ChangeLog index 4c6e9f7f..841742d5 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 61247e46..660791cb 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: |