]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
Avoid spurious localization testsuite failure on HP-UX/ia64.
authorRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Sun, 14 Jun 2009 09:35:59 +0000 (11:35 +0200)
committerRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Sun, 14 Jun 2009 09:35:59 +0000 (11:35 +0200)
* 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>
ChangeLog
tests/localization.at

index 0eedffde51bebce73e1a4431df557ee38d1f1810..fbc353730a59b8af60f87aa833fd438850baa199 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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.
index 1d689aac1dd9fa96ee7594a892b900e22efa4be3..71cdad4c2551d54e63f7ba570747584a20696f32 100644 (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])