# HG changeset patch # User Pierre-Yves David # Date 1629241658 -7200 # Node ID d3f890e04525b55c42204b0fe18662ac069405c1 # Parent d704aea4efa6d190de08bde581ecc0a130e6072b pyoxidized: add a dedicated target in the tests 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. Differential Revision: https://phab.mercurial-scm.org/D11286 diff -r d704aea4efa6 -r d3f890e04525 Makefile --- a/Makefile Tue Aug 17 20:48:52 2021 +0200 +++ b/Makefile Wed Aug 18 01:07:38 2021 +0200 @@ -270,9 +270,13 @@ 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 \ - update-pot pyoxidizer \ + update-pot pyoxidizer pyoxidizer-windows-tests \ $(packaging_targets) \ osx diff -r d704aea4efa6 -r d3f890e04525 tests/run-tests.py --- a/tests/run-tests.py Tue Aug 17 20:48:52 2021 +0200 +++ b/tests/run-tests.py Wed Aug 18 01:07:38 2021 +0200 @@ -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