changeset 34688:a88166a4dce3

test-i18n: guard gettext test appropriately
author Yuya Nishihara <yuya@tcha.org>
date Sat, 14 Oct 2017 13:37:14 +0900
parents e79b6300d97c
children f07cf12e740f
files tests/test-i18n.t
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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