Show More
@@ -2,7 +2,7 include hg | |||
|
2 | 2 | recursive-include mercurial *.py |
|
3 | 3 | include hgweb.cgi hgwebdir.cgi |
|
4 | 4 | include hgeditor rewrite-log |
|
5 | include tests/README tests/run-tests tests/md5sum.py tests/test-*[a-z0-9] tests/*.out | |
|
5 | include tests/README tests/run-tests.py tests/md5sum.py tests/test-*[a-z0-9] tests/*.out | |
|
6 | 6 | prune tests/*.err |
|
7 | 7 | include *.txt |
|
8 | 8 | include templates/map templates/map-*[a-z0-9] |
@@ -16,10 +16,10 dist: tests doc | |||
|
16 | 16 | TAR_OPTIONS="--owner=root --group=root --mode=u+w,go-w,a+rX-s" $(PYTHON) setup.py sdist --force-manifest |
|
17 | 17 | |
|
18 | 18 | tests: |
|
19 |
cd tests && |
|
|
19 | cd tests && $(PYTHON) run-tests.py | |
|
20 | 20 | |
|
21 | 21 | test-%: |
|
22 |
cd tests && |
|
|
22 | cd tests && $(PYTHON) run-tests.py $@ | |
|
23 | 23 | |
|
24 | 24 | doc: |
|
25 | 25 | $(MAKE) -C doc |
@@ -3,7 +3,7 A simple testing framework | |||
|
3 | 3 | To run the tests, do: |
|
4 | 4 | |
|
5 | 5 | cd tests/ |
|
6 |
|
|
|
6 | python run-tests.py | |
|
7 | 7 | |
|
8 | 8 | This finds all scripts in the test directory named test-* and executes |
|
9 | 9 | them. The scripts can be either shell scripts or Python. Each test is |
|
1 | NO CONTENT: file was removed |
General Comments 0
You need to be logged in to leave comments.
Login now