Patchwork test-gendoc: require gettext

login
register
mail settings
Submitter Eric Sumner
Date Feb. 5, 2015, 7:56 p.m.
Message ID <6cafea528498c569ae1e.1423166162@waste.org>
Download mbox | patch
Permalink /patch/7689/
State Accepted
Commit 1fdb1d909c79e19ad6f363f9dbc9babb779acf9b
Headers show

Comments

Eric Sumner - Feb. 5, 2015, 7:56 p.m.
# HG changeset patch
# User Eric Sumner <ericsumner@fb.com>
# Date 1421804322 28800
#      Tue Jan 20 17:38:42 2015 -0800
# Node ID 6cafea528498c569ae1eeb6e62c317e52a5cea12
# Parent  7f375d2de945e0e773541773db9c334f9e9f75c6
test-gendoc: require gettext

If the gettext utilities aren't installed, there is no way to make the
translations.  This causes the gettext client to fall back to the untranslated
message, which triggers "** NOTHING TRANSLATED **" errors and a test failure.
Matt Mackall - Feb. 5, 2015, 8 p.m.
On Thu, 2015-02-05 at 13:56 -0600, Eric Sumner wrote:
> # HG changeset patch
> # User Eric Sumner <ericsumner@fb.com>
> # Date 1421804322 28800
> #      Tue Jan 20 17:38:42 2015 -0800
> # Node ID 6cafea528498c569ae1eeb6e62c317e52a5cea12
> # Parent  7f375d2de945e0e773541773db9c334f9e9f75c6
> test-gendoc: require gettext

Queued for default, thanks.

Patch

diff --git a/tests/test-gendoc.t b/tests/test-gendoc.t
--- a/tests/test-gendoc.t
+++ b/tests/test-gendoc.t
@@ -1,4 +1,5 @@ 
 #require docutils
+#require gettext
 
 Test document extraction