[PATCH 1 of 8] test-i18n: always run non gettext tests

timeless at mozdev.org timeless at mozdev.org
Thu Sep 17 12:17:43 UTC 2015


# HG changeset patch
# User timeless at mozdev.org
# Date 1442489467 14400
#      Thu Sep 17 07:31:07 2015 -0400
# Node ID 60e4062de715dc8cecf5e9b9df6a7f62b5982390
# Parent  3166bcc0c53840833e4223f123731fc420c0d3d3
test-i18n: always run non gettext tests

diff --git a/tests/test-i18n.t b/tests/test-i18n.t
--- a/tests/test-i18n.t
+++ b/tests/test-i18n.t
@@ -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
 


More information about the Mercurial-devel mailing list