* gettext-tools/tests/cldr-plurals-1: Skip if XML is not supported.
* gettext-tools/tests/msginit-4: Likewise.
+2015-06-24 Daiki Ueno <ueno@gnu.org>
+
+ * cldr-plurals-1: Skip if XML is not supported.
+ * msginit-4: Likewise.
+
2015-06-24 Daiki Ueno <ueno@gnu.org>
* format-kde-kuit-1: Skip if KDE KUIT format is not supported.
# Test conversion from CLDR to gettext, for Arabic and Russian
+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"
+ exit 77
+}
+
cat > ar.ok <<\EOF
nplurals=6; plural=(n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 && n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5);
EOF
. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test filling Plural-Forms: with Unicode CLDR
+
+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"
+ exit 77
+}
+
cat <<\EOF > mi-test4.pot
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER