libtool-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Ralf Wildenhues
Subject: Avoid spurious localization testsuite failure on HP-UX/ia64.
Date: Sun, 14 Jun 2009 11:37:52 +0200
User-agent: Mutt/1.5.19 (2009-06-13)

I'm pushing this trivial patch to avoid a spurious testsuite failure on
HP-UX/ia64.

Cheers,
Ralf

    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.

diff --git a/tests/localization.at b/tests/localization.at
index 1d689aa..71cdad4 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])
 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]