]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
Add comments about test failures with --disable-nls.
authorBruno Haible <bruno@clisp.org>
Thu, 15 Dec 2016 23:25:18 +0000 (00:25 +0100)
committerBruno Haible <bruno@clisp.org>
Thu, 15 Dec 2016 23:25:18 +0000 (00:25 +0100)
* gettext-tools/tests/lang-bash: Add comment.
* gettext-tools/tests/lang-sh: Likewise.
* gettext-tools/tests/lang-c: Likewise.
* gettext-tools/tests/lang-c++: Likewise.
* gettext-tools/tests/lang-objc: Likewise.

gettext-tools/tests/lang-bash
gettext-tools/tests/lang-c
gettext-tools/tests/lang-c++
gettext-tools/tests/lang-objc
gettext-tools/tests/lang-sh

index a5ec2b0441827bc51a88f90c25eac567456bfd81..6c68a8bdc90cdb8e5d65a505dc820d3b4cb9dce7 100755 (executable)
 # output when accessing any .mo file not generated from a .po file in UTF-8
 # encoding.
 
+# This test fails if the gettext package was configured with --disable-nls,
+# because in this case the gettext-runtime/src/gettext program does not do
+# any message catalog lookups.
+
 cat <<\EOF > prog.bash
 #! /bin/bash
 
index 2babb08ae9e96d9b7fe168662aa60ea4fc65d4ae..ad6be73f711d806950eb12c49c7fa83ad43e2ef3 100755 (executable)
@@ -5,6 +5,10 @@
 # Assumes an fr_FR locale is installed.
 # Assumes the following packages are installed: gcc.
 
+# This test fails if the gettext package was configured with --disable-nls,
+# because in this case the gettext-runtime/intl/ directory does not produce
+# a <libintl.h> header file.
+
 cat <<\EOF > prog.c
 #include "config.h"
 #include <libintl.h>
index 105e70e2544b6d3f9beb7f6cbbed9f43cffa1ba5..cad6af8bbbcf4e0aac0fcf4a19bd0a689f5517a5 100755 (executable)
@@ -5,6 +5,10 @@
 # Assumes an fr_FR locale is installed.
 # Assumes the following packages are installed: gcc g++.
 
+# This test fails if the gettext package was configured with --disable-nls,
+# because in this case the gettext-runtime/intl/ directory does not produce
+# a <libintl.h> header file.
+
 # Test whether a C++ compiler is found and libasprintf is built.
 test "${CXX}" != "no" || {
   echo "Skipping test: no C++ compiler found"
index 25ca2119d65412897dbb7629f2b08d017e581caf..bc2578cc1214cd67d3f5d0b2e6a574216745d01c 100755 (executable)
@@ -5,6 +5,10 @@
 # Assumes an fr_FR locale is installed.
 # Assumes the following packages are installed: gcc.
 
+# This test fails if the gettext package was configured with --disable-nls,
+# because in this case the gettext-runtime/intl/ directory does not produce
+# a <libintl.h> header file.
+
 # Test whether an ObjectiveC compiler is found.
 cat <<\EOF > hello.m
 #include <stdio.h>
index 2737f3acc0baaedaaed3c8e0ee24cb6362e6eb9c..5f0173264fe4229804e488c6c61bbfe911b9f0bc 100755 (executable)
@@ -8,6 +8,10 @@
 # Note: This test fails on BeOS because there all locales use the UTF-8
 # encoding, even the locale fr_FR, thus the output comes out in UTF-8.
 
+# This test fails if the gettext package was configured with --disable-nls,
+# because in this case the gettext-runtime/src/gettext program does not do
+# any message catalog lookups.
+
 cat <<\EOF > prog.sh
 #! /bin/sh