From: Bruno Haible Date: Sat, 1 Aug 2020 16:31:23 +0000 (+0200) Subject: Add comment about test failures on Cygwin. X-Git-Tag: v0.22~335 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=480e0033db64f8003587a7d1edbcff1702e5125f;p=thirdparty%2Fgettext.git Add comment about test failures on Cygwin. * gettext-tools/tests/msginit-3: Add comment about a possible test failure. * gettext-tools/tests/msginit-4: Likewise. --- diff --git a/gettext-tools/tests/msginit-3 b/gettext-tools/tests/msginit-3 index 1758ad516..d00ba1a14 100755 --- a/gettext-tools/tests/msginit-3 +++ b/gettext-tools/tests/msginit-3 @@ -9,6 +9,9 @@ # People who need this functionality should use a Cygwin environment, not # a native Windows environment. +# This test may fail on Cygwin before 'make install', because the PATH set in +# msginit.c considers the installation directory, not the build directory. + cat <<\EOF > mi-test3.pot # SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER diff --git a/gettext-tools/tests/msginit-4 b/gettext-tools/tests/msginit-4 index 50b295fc0..13b362bd3 100755 --- a/gettext-tools/tests/msginit-4 +++ b/gettext-tools/tests/msginit-4 @@ -3,6 +3,9 @@ # Test filling Plural-Forms: with Unicode CLDR +# This test may fail on Cygwin before 'make install', because the PATH set in +# msginit.c considers the installation directory, not the build directory. + LC_ALL=C "$top_builddir/src/cldr-plurals" ru /dev/null 2>&1 | grep 'extraction is not supported' > /dev/null 2>&1 test $? = 0 && { echo "Skipping test: cldr-plurals was built without XML support"