Show More
@@ -0,0 +1,18 b'' | |||
|
1 | ||
|
2 | .PHONY: clean test test-clean test-only | |
|
3 | ||
|
4 | ||
|
5 | clean: | |
|
6 | make test-clean | |
|
7 | find . -type f \( -iname '*.c' -o -iname '*.pyc' -o -iname '*.so' \) -exec rm '{}' ';' | |
|
8 | ||
|
9 | test: | |
|
10 | make test-clean | |
|
11 | make test-only | |
|
12 | ||
|
13 | test-clean: | |
|
14 | rm -rf coverage.xml htmlcov junit.xml pylint.log result | |
|
15 | find . -type d -name "__pycache__" -prune -exec rm -rf '{}' ';' | |
|
16 | ||
|
17 | test-only: | |
|
18 | PYTHONHASHSEED=random py.test -vv -r xw --cov=vcsserver --cov-report=term-missing --cov-report=html vcsserver |
General Comments 0
You need to be logged in to leave comments.
Login now