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

login
register
mail settings
Submitter phabricator
Date Oct. 18, 2017, 12:47 p.m.
Message ID <663843cd0fe2ee1b6dadcde72ab4e802@localhost.localdomain>
Download mbox | patch
Permalink /patch/25160/
State Not Applicable
Headers show

Comments

phabricator - Oct. 18, 2017, 12:47 p.m.
This revision was automatically updated to reflect the committed changes.
Closed by commit rHGf0a62afd1e40: tests: move baduisetup() test out of &quot;#if demandimport&quot; (authored by martinvonz, committed by ).

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D1163?vs=2938&id=2972

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

AFFECTED FILES
  tests/test-extension.t

CHANGE DETAILS




To: martinvonz, #hg-reviewers, quark
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
@@ -514,6 +514,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):
@@ -545,8 +547,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