Patchwork D1163: tests: move baduisetup() test out of "#if demandimport"

login
register
mail settings
Submitter phabricator
Date Oct. 17, 2017, 6:24 p.m.
Message ID <differential-rev-PHID-DREV-pkshjch7b66bytt3awbq-req@phab.mercurial-scm.org>
Download mbox | patch
Permalink /patch/25130/
State Superseded
Headers show

Comments

phabricator - Oct. 17, 2017, 6:24 p.m.
martinvonz created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.

REVISION SUMMARY
  It no longer depends on demandimport.

REPOSITORY
  rHG Mercurial

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

AFFECTED FILES
  tests/test-extension.t

CHANGE DETAILS




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

Patch

diff --git a/tests/test-extension.t b/tests/test-extension.t
--- a/tests/test-extension.t
+++ b/tests/test-extension.t
@@ -510,6 +510,8 @@ 
 
   $ (PYTHONPATH=${PYTHONPATH}${PATHSEP}${TESTTMP}; hg --config extensions.checkrelativity=$TESTTMP/checkrelativity.py checkrelativity)
 
+#endif
+
 Make sure a broken uisetup doesn't globally break hg:
   $ cat > $TESTTMP/baduisetup.py <<EOF
   > def uisetup(ui):
@@ -541,8 +543,6 @@ 
   This is free software; see the source for copying conditions. There is NO
   warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
 
-#endif
-
   $ cd ..
 
 hide outer repo