Mercurial > hg-stable
changeset 47829:d3f890e04525 stable
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
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Wed, 18 Aug 2021 01:07:38 +0200 |
parents | d704aea4efa6 |
children | da39b9c1c486 |
files | Makefile tests/run-tests.py |
diffstat | 2 files changed, 6 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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
--- 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