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

indygreg (Gregory Szorc) phabricator at mercurial-scm.org
Thu Apr 5 04:38:38 UTC 2018


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

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
 



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


More information about the Mercurial-devel mailing list