rust-tests: run `cargo` tests inside the `rust` folder
authorRaphaël Gomès <rgomes@octobus.net>
Tue, 10 Jan 2023 11:25:24 +0100
changeset 49940 e3274e02d08e
parent 49937 750409505286
child 49941 0a58aaa2009c
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.
Makefile
--- a/Makefile	Tue Jan 10 11:20:54 2023 +0100
+++ b/Makefile	Tue Jan 10 11:25:24 2023 +0100
@@ -152,7 +152,7 @@
 	cd tests && $(HGPYTHONS)/$*/bin/python run-tests.py $(TESTFLAGS)
 
 rust-tests:
-	cd $(HGROOT)/rust/hg-cpython \
+	cd $(HGROOT)/rust \
 		&& $(CARGO) test --quiet --all --features "$(HG_RUST_FEATURES)"
 
 check-code: