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-%: |
@@ -57,7 +57,7 b' revision. "C" indicates that hg merge ha' | |||||
57 | > fi |
|
57 | > fi | |
58 | > else expected=a |
|
58 | > else expected=a | |
59 | > fi |
|
59 | > fi | |
60 |
> got=`hg log -r 3 --template '{files}\n' | tr |
|
60 | > got=`hg log -r 3 --template '{files}\n' | tr -d 'e '` | |
61 | > if [ "$got" = "$expected" ] |
|
61 | > if [ "$got" = "$expected" ] | |
62 | > then echo "$line$conflicts: agree on \"$got\"" |
|
62 | > then echo "$line$conflicts: agree on \"$got\"" | |
63 | > else echo "$line$conflicts: hg said \"$got\", expected \"$expected\"" |
|
63 | > else echo "$line$conflicts: hg said \"$got\", expected \"$expected\"" |
General Comments 0
You need to be logged in to leave comments.
Login now