[Updated] D11304: pyoxidizer: disable the test for disabled & broken extensions help
marmoute (Pierre-Yves David)
phabricator at mercurial-scm.org
Thu Aug 19 01:20:47 UTC 2021
Closed by commit rHGd88f4231712c: pyoxidizer: disable the test for disabled & broken extensions help (authored by marmoute).
This revision was automatically updated to reflect the committed changes.
This revision was not accepted when it landed; it landed in state "Needs Review".
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D11304?vs=29932&id=29954
CHANGES SINCE LAST ACTION
https://phab.mercurial-scm.org/D11304/new/
REVISION DETAIL
https://phab.mercurial-scm.org/D11304
AFFECTED FILES
tests/test-extension.t
CHANGE DETAILS
diff --git a/tests/test-extension.t b/tests/test-extension.t
--- a/tests/test-extension.t
+++ b/tests/test-extension.t
@@ -1378,6 +1378,18 @@
(use 'hg help extensions' for information on enabling extensions)
+Help can find unimported extensions
+-----------------------------------
+
+XXX-PYOXIDIZER since the frozen binary does not have source directory tree,
+this make the checking for actual file under `hgext` a bit complicated. In
+addition these tests do some strange dance to ensure some other module are the
+first in `sys.path` (since the current install path is always in front
+otherwise) that are fragile and that does not match reality in the field. So
+for now we disable this test untill a deeper rework of that logic is done.
+
+#if no-pyoxidizer
+
Broken disabled extension and command:
$ mkdir hgext
@@ -1413,6 +1425,10 @@
(try 'hg help --keyword foo')
[255]
+#endif
+
+---
+
$ cat > throw.py <<EOF
> from mercurial import commands, registrar, util
> cmdtable = {}
To: marmoute, #hg-reviewers
Cc: mercurial-patches
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial-patches/attachments/20210819/87870083/attachment-0002.html>
More information about the Mercurial-patches
mailing list