Show More
@@ -16,6 +16,7 b' export LANGUAGE=C' | |||
|
16 | 16 | export LC_ALL=C |
|
17 | 17 | TESTFLAGS ?= $(shell echo $$HGTESTFLAGS) |
|
18 | 18 | OSXVERSIONFLAGS ?= $(shell echo $$OSXVERSIONFLAGS) |
|
19 | CARGO = cargo | |
|
19 | 20 | |
|
20 | 21 | # Set this to e.g. "mingw32" to use a non-default compiler. |
|
21 | 22 | COMPILER= |
@@ -110,6 +111,10 b' dist-notests:\tdoc MANIFEST.in' | |||
|
110 | 111 | check: tests |
|
111 | 112 | |
|
112 | 113 | tests: |
|
114 | # Run Rust tests if cargo is installed | |
|
115 | if command -v $(CARGO) >/dev/null 2>&1; then \ | |
|
116 | cd $(HGROOT)/rust/hg-cpython && $(CARGO) test --quiet --all; \ | |
|
117 | fi | |
|
113 | 118 | cd tests && $(PYTHON) run-tests.py $(TESTFLAGS) |
|
114 | 119 | |
|
115 | 120 | test-%: |
General Comments 0
You need to be logged in to leave comments.
Login now