changeset 26252:a3edce86f430

test-i18n: always run non gettext tests
author timeless@mozdev.org
date Thu, 17 Sep 2015 07:31:07 -0400
parents 5c0f5db65c6b
children 131c4d3eae1d
files tests/test-i18n.t
diffstat 1 files changed, 5 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- 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