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

login
register
mail settings
Submitter timeless@mozdev.org
Date Sept. 17, 2015, 12:17 p.m.
Message ID <60e4062de715dc8cecf5.1442492263@waste.org>
Download mbox | patch
Permalink /patch/10517/
State Accepted
Headers show

Comments

timeless@mozdev.org - Sept. 17, 2015, 12:17 p.m.
# HG changeset patch
# User timeless@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

Patch

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