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