comparison Makefile @ 49938:e3274e02d08e

rust-tests: run `cargo` tests inside the `rust` folder There is no reason to only run inside the `rust/hg-cpython` folder, even if the `cargo test --all` behavior ends up being the same.
author Raphaël Gomès <rgomes@octobus.net>
date Tue, 10 Jan 2023 11:25:24 +0100
parents d5b722ce9864
children 0a58aaa2009c
comparison
equal deleted inserted replaced
49937:750409505286 49938:e3274e02d08e
150 cd $$(mktemp --directory --tmpdir) && \ 150 cd $$(mktemp --directory --tmpdir) && \
151 $(MAKE) -f $(HGROOT)/contrib/Makefile.python PYTHONVER=$* PREFIX=$(HGPYTHONS)/$* python ) 151 $(MAKE) -f $(HGROOT)/contrib/Makefile.python PYTHONVER=$* PREFIX=$(HGPYTHONS)/$* python )
152 cd tests && $(HGPYTHONS)/$*/bin/python run-tests.py $(TESTFLAGS) 152 cd tests && $(HGPYTHONS)/$*/bin/python run-tests.py $(TESTFLAGS)
153 153
154 rust-tests: 154 rust-tests:
155 cd $(HGROOT)/rust/hg-cpython \ 155 cd $(HGROOT)/rust \
156 && $(CARGO) test --quiet --all --features "$(HG_RUST_FEATURES)" 156 && $(CARGO) test --quiet --all --features "$(HG_RUST_FEATURES)"
157 157
158 check-code: 158 check-code:
159 hg manifest | xargs python contrib/check-code.py 159 hg manifest | xargs python contrib/check-code.py
160 160