Patchwork D3107: tests: conditionalize test-commandserver.t based on extra extensions

login
register
mail settings
Submitter phabricator
Date April 5, 2018, 4:38 a.m.
Message ID <differential-rev-PHID-DREV-4pr4ryuy7cjid6q5i43s-req@phab.mercurial-scm.org>
Download mbox | patch
Permalink /patch/30333/
State Superseded
Headers show

Comments

phabricator - April 5, 2018, 4:38 a.m.
indygreg created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.

REVISION SUMMARY
  If running with extra extensions we get an output difference.

REPOSITORY
  rHG Mercurial

REVISION DETAIL
  https://phab.mercurial-scm.org/D3107

AFFECTED FILES
  tests/test-commandserver.t

CHANGE DETAILS




To: indygreg, #hg-reviewers
Cc: mercurial-devel

Patch

diff --git a/tests/test-commandserver.t b/tests/test-commandserver.t
--- a/tests/test-commandserver.t
+++ b/tests/test-commandserver.t
@@ -189,6 +189,8 @@ 
   > foo = bar
   > EOF
 
+#if no-extraextensions
+
   >>> from hgclient import check, readchannel, runcommand, sep
   >>> @check
   ... def localhgrc(server):
@@ -222,6 +224,7 @@ 
   ui.interactive=False
   ui.mergemarkers=detailed
   ui.nontty=true
+#endif
 
   $ rm -R foo