Patchwork tests: mark test in tests/test-help.t as contingent on gettext being available

login
register
mail settings
Submitter Kent Frazier
Date April 15, 2014, 9:53 p.m.
Message ID <aacccfea142310f79e1a.1397598795@Phobos.local>
Download mbox | patch
Permalink /patch/4381/
State Accepted
Commit d0cc92ba0406cb2b766165d7d82909287564f9ce
Headers show

Comments

Kent Frazier - April 15, 2014, 9:53 p.m.
# HG changeset patch
# User Kent Frazier <kentfrazier@gmail.com>
# Date 1397598687 14400
#      Tue Apr 15 17:51:27 2014 -0400
# Node ID aacccfea142310f79e1a9f90801d91ad00d7c0a2
# Parent  7e50af3ecb436f3dcd8f856e6d244d458675a62c
tests: mark test in tests/test-help.t as contingent on gettext being available
Matt Mackall - April 15, 2014, 10:01 p.m.
On Tue, 2014-04-15 at 17:53 -0400, Kent Frazier wrote:
> # HG changeset patch
> # User Kent Frazier <kentfrazier@gmail.com>
> # Date 1397598687 14400
> #      Tue Apr 15 17:51:27 2014 -0400
> # Node ID aacccfea142310f79e1a9f90801d91ad00d7c0a2
> # Parent  7e50af3ecb436f3dcd8f856e6d244d458675a62c
> tests: mark test in tests/test-help.t as contingent on gettext being available

Queued for default, thanks.

Patch

diff -r 7e50af3ecb43 -r aacccfea1423 tests/test-help.t
--- a/tests/test-help.t	Tue Apr 15 16:27:12 2014 -0400
+++ b/tests/test-help.t	Tue Apr 15 17:51:27 2014 -0400
@@ -870,6 +870,7 @@ 
   $ hg help -v debugoptDEP | grep dopt
     --dopt option is DEPRECATED
 
+#if gettext
 test deprecated option is hidden with translation with untranslated description
 (use many globy for not failing on changed transaction)
   $ LANGUAGE=sv hg help debugoptDEP
@@ -880,7 +881,7 @@ 
   flaggor:
   
   *"hg -v help debugoptDEP"* (glob)
-
+#endif
 
 Test a help topic