# HG changeset patch
# User Yuya Nishihara <y...@tcha.org>
# Date 1507955834 -32400
#      Sat Oct 14 13:37:14 2017 +0900
# Node ID d70d56a43d2e301f605d2c2fe1368d04f0aaaf87
# Parent  16d73491416b8db667296526740fed2af086452b
test-i18n: guard gettext test appropriately

diff --git a/tests/test-i18n.t b/tests/test-i18n.t
--- a/tests/test-i18n.t
+++ b/tests/test-i18n.t
@@ -49,6 +49,8 @@ tool itself by doctest
   $ $PYTHON check-translation.py --doctest
   $ cd $TESTTMP
 
+#if gettext
+
 Check i18n cache isn't reused after encoding change:
 
   $ cat > $TESTTMP/encodingchange.py << EOF
@@ -68,3 +70,5 @@ Check i18n cache isn't reused after enco
   (\xe5\xae\x9f\xe9\xa8\x93\xe7\x9a\x84\xe5\xae\x9f\xe8\xa3\x85) (esc)
   (?????)
   (\xe5\xae\x9f\xe9\xa8\x93\xe7\x9a\x84\xe5\xae\x9f\xe8\xa3\x85) (esc)
+
+#endif
_______________________________________________
Mercurial-devel mailing list
Mercurial-devel@mercurial-scm.org
https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel

Reply via email to