test-i18n: guard gettext test appropriately
authorYuya Nishihara <yuya@tcha.org>
Sat, 14 Oct 2017 13:37:14 +0900
changeset 34688 a88166a4dce3
parent 34687 e79b6300d97c
child 34689 f07cf12e740f
test-i18n: guard gettext test appropriately
tests/test-i18n.t
--- a/tests/test-i18n.t	Sun Oct 08 13:08:31 2017 +0200
+++ b/tests/test-i18n.t	Sat Oct 14 13:37:14 2017 +0900
@@ -49,6 +49,8 @@
   $ $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 @@
   (\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