[Request] [+ ] D11286: pyoxidized: add a dedicated target in the tests
marmoute (Pierre-Yves David)
phabricator at mercurial-scm.org
Wed Aug 18 01:01:35 UTC 2021
marmoute created this revision.
Herald added a reviewer: hg-reviewers.
Herald added a subscriber: mercurial-patches.
REVISION SUMMARY
We will need to setup more items to make the "quick" version work on stable,
having a dedicated operation will allow to contains change to that operation.
REPOSITORY
rHG Mercurial
BRANCH
stable
REVISION DETAIL
https://phab.mercurial-scm.org/D11286
AFFECTED FILES
Makefile
tests/run-tests.py
CHANGE DETAILS
diff --git a/tests/run-tests.py b/tests/run-tests.py
--- a/tests/run-tests.py
+++ b/tests/run-tests.py
@@ -3910,7 +3910,7 @@
vlog('# build a pyoxidized version of Mercurial')
assert os.path.dirname(self._bindir) == self._installdir
assert self._hgroot, 'must be called after _installhg()'
- cmd = b'"%(make)s" pyoxidizer' % {
+ cmd = b'"%(make)s" pyoxidizer-windows-tests' % {
b'make': b'make',
}
cwd = self._hgroot
diff --git a/Makefile b/Makefile
--- a/Makefile
+++ b/Makefile
@@ -270,6 +270,10 @@
pyoxidizer:
$(PYOXIDIZER) build --path ./rust/hgcli --release
+# a temporary target to setup all we need for run-tests.py --pyoxidizer
+# (should go away as the run-tests implementation improves
+pyoxidizer-windows-tests: pyoxidizer
+
.PHONY: help all local build doc cleanbutpackages clean install install-bin \
install-doc install-home install-home-bin install-home-doc \
dist dist-notests check tests rust-tests check-code format-c \
To: marmoute, #hg-reviewers
Cc: mercurial-patches, mercurial-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mercurial-scm.org/pipermail/mercurial-patches/attachments/20210818/09f0d853/attachment.html>
More information about the Mercurial-patches
mailing list