diff options
author | Stefano Lattarini <stefano.lattarini@gmail.com> | 2013-10-30 00:04:51 +0000 |
---|---|---|
committer | Stefano Lattarini <stefano.lattarini@gmail.com> | 2013-10-30 00:54:24 +0000 |
commit | 1e2f142fff20f126644b42ded42c12614114aab3 (patch) | |
tree | 937de1ecb99494680ed3f209453db43711152b4f | |
parent | 8dbdc495503a3a689d1396326c212af26a5a00ca (diff) | |
download | automake-1e2f142fff20f126644b42ded42c12614114aab3.tar.gz |
tests: fix spurious failure due to localization issues
Fixes automake bug#15237.
* t/autohdr-subdir-pr12495.sh: Ensure make is run in the C locale, so that
we can expect error messages in English when grepping its output.
* THANKS, NEWS: Update.
Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
-rw-r--r-- | NEWS | 2 | ||||
-rw-r--r-- | THANKS | 1 | ||||
-rw-r--r-- | t/autohdr-subdir-pr12495.sh | 4 |
3 files changed, 6 insertions, 1 deletions
@@ -118,7 +118,7 @@ New in 1.14.1: message on the most common invalid usages. - Several spurious failures/hangs in the testsuite (bugs #14706, #14707, - #14760 and #14911). + #14760, #14911, #15237). * Documentation fixes: @@ -411,6 +411,7 @@ Vasyl Khalak basiliomail@gmail.com Vincent Lefevre vincent@vinc17.org Vladimir Serbinenko phcoder@gmail.com Volker Boerchers vboerchers@tecon.de +Weiller Ronfini weillerronfini@yahoo.com.br Werner John john@oswf.de Werner Koch wk@isil.d.shuttle.de Werner Lemberg wl@gnu.org diff --git a/t/autohdr-subdir-pr12495.sh b/t/autohdr-subdir-pr12495.sh index 7e26b4674..dcb962037 100644 --- a/t/autohdr-subdir-pr12495.sh +++ b/t/autohdr-subdir-pr12495.sh @@ -63,6 +63,10 @@ $MAKE test -f a.h.in test -f a.h +# We might need to grep the output of GNU make for error messages. +LANG=C LANGUAGE=C LC_ALL=C +export LANG LANGUAGE LC_ALL + ocwd=$(pwd) for x in b c; do test $x = b || cd sub |