##// END OF EJS Templates
makefile: run Rust tests if cargo is installed...
Raphaël Gomès -
r43073:7521e6d1 stable
parent child Browse files
Show More
@@ -16,6 +16,7 b' export LANGUAGE=C'
16 export LC_ALL=C
16 export LC_ALL=C
17 TESTFLAGS ?= $(shell echo $$HGTESTFLAGS)
17 TESTFLAGS ?= $(shell echo $$HGTESTFLAGS)
18 OSXVERSIONFLAGS ?= $(shell echo $$OSXVERSIONFLAGS)
18 OSXVERSIONFLAGS ?= $(shell echo $$OSXVERSIONFLAGS)
19 CARGO = cargo
19
20
20 # Set this to e.g. "mingw32" to use a non-default compiler.
21 # Set this to e.g. "mingw32" to use a non-default compiler.
21 COMPILER=
22 COMPILER=
@@ -110,6 +111,10 b' dist-notests:\tdoc MANIFEST.in'
110 check: tests
111 check: tests
111
112
112 tests:
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 cd tests && $(PYTHON) run-tests.py $(TESTFLAGS)
118 cd tests && $(PYTHON) run-tests.py $(TESTFLAGS)
114
119
115 test-%:
120 test-%:
General Comments 0
You need to be logged in to leave comments. Login now