Avoid spurious localization testsuite failure on HP-UX/ia64.

* tests/localization.at (localized compiler messages): Skip test
if the compiler warning output contains `locale', for HP-UX.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
This commit is contained in:
Ralf Wildenhues 2009-06-14 11:35:59 +02:00
parent b04fe8e6da
commit 8a08afac5d
2 changed files with 15 additions and 2 deletions

View File

@ -1,3 +1,9 @@
2009-06-14 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Avoid spurious localization testsuite failure on HP-UX/ia64.
* tests/localization.at (localized compiler messages): Skip test
if the compiler warning output contains `locale', for HP-UX.
2009-06-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Fix concurrent extraction of convenience libraries on Darwin.

View File

@ -49,9 +49,16 @@ AT_CHECK([$LIBTOOL --mode=compile --tag=CC $CC $CPPFLAGS $CFLAGS -c a.c || exit
[1], [stdout], [stderr])
LT_AT_NORMALIZE_COMPILER_OUTPUT([stdout], [libtool-stdout])
LT_AT_NORMALIZE_COMPILER_OUTPUT([stderr], [libtool-stderr])
# Avoid this error:
# Avoid these errors:
# GNU/Linux:
# /bin/sh: warning: setlocale: LC_ALL: cannot change locale (de_DE)
AT_CHECK([grep LC_ALL stdout stderr && exit 77], [1])
# HP-UX:
# Warning! One or more of your selected locales are not available.
# Please invoke the commands "locale" and "locale -a" to verify your
# selections and the available locales.
#
# Continuing processing using the "C" locale.
AT_CHECK([grep locale stdout stderr && exit 77], [1])
AT_CHECK([diff expected-stderr libtool-stderr])
AT_CHECK([diff expected-stdout libtool-stdout])