test-i18n: always run non gettext tests
authortimeless@mozdev.org
Thu, 17 Sep 2015 07:31:07 -0400
changeset 26252 a3edce86f430
parent 26251 5c0f5db65c6b
child 26253 131c4d3eae1d
test-i18n: always run non gettext tests
tests/test-i18n.t
--- a/tests/test-i18n.t	Tue Sep 15 00:32:39 2015 +0900
+++ b/tests/test-i18n.t	Thu Sep 17 07:31:07 2015 -0400
@@ -1,8 +1,6 @@
-#require gettext
-
 (Translations are optional)
 
-#if no-outer-repo
+#if gettext no-outer-repo
 
 Test that translations are compiled and installed correctly.
 
@@ -27,6 +25,8 @@
 
 #endif
 
+#if gettext
+
 Test keyword search in translated help text:
 
   $ HGENCODING=UTF-8 LANGUAGE=de hg help -k blättern
@@ -38,6 +38,8 @@
   
    pager Verwendet einen externen Pager zum Bl\xc3\xa4ttern in der Ausgabe von Befehlen (esc)
 
+#endif
+
 Check Mercurial specific translation problems in each *.po files, and
 tool itself by doctest