From 480e0033db64f8003587a7d1edbcff1702e5125f Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Sat, 1 Aug 2020 18:31:23 +0200 Subject: [PATCH] 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. --- gettext-tools/tests/msginit-3 | 3 +++ gettext-tools/tests/msginit-4 | 3 +++ 2 files changed, 6 insertions(+) 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" -- 2.47.3