From: Ralf Wildenhues Date: Sun, 14 Jun 2009 09:35:59 +0000 (+0200) Subject: Avoid spurious localization testsuite failure on HP-UX/ia64. X-Git-Tag: v2.2.7b~79 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=8a08afac5d4f560a0fdd53611e9db680a3a5145c;p=thirdparty%2Flibtool.git 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 --- diff --git a/ChangeLog b/ChangeLog index 0eedffde5..fbc353730 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2009-06-14 Ralf Wildenhues + + 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 Fix concurrent extraction of convenience libraries on Darwin. diff --git a/tests/localization.at b/tests/localization.at index 1d689aac1..71cdad4c2 100644 --- a/tests/localization.at +++ b/tests/localization.at @@ -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])