|
@@ -4,7 +4,7 @@ TESTPYPI = https://testpypi.python.org/pypi
|
4
|
4
|
PYPI = https://pypi.python.org/pypi
|
5
|
5
|
|
6
|
6
|
.PHONY: dogfood clean build dist-test dist \
|
7
|
|
- test test3 unit unit3 reg reg3 profile profile3
|
|
7
|
+ test test3 unit unit3 reg reg3 cov profile profile3
|
8
|
8
|
|
9
|
9
|
dogfood:
|
10
|
10
|
./cdiff.py
|
|
@@ -26,6 +26,10 @@ reg:
|
26
|
26
|
reg3:
|
27
|
27
|
PYTHON=python3 tests/regression.sh
|
28
|
28
|
|
|
29
|
+cov:
|
|
30
|
+ coverage run tests/test_cdiff.py
|
|
31
|
+ coverage report --include cdiff.py --show-missing
|
|
32
|
+
|
29
|
33
|
profile:
|
30
|
34
|
tests/profile.sh profile.tmp
|
31
|
35
|
|
|
@@ -33,7 +37,7 @@ profile3:
|
33
|
37
|
tests/profile.sh profile3.tmp
|
34
|
38
|
|
35
|
39
|
clean:
|
36
|
|
- rm -f MANIFEST profile*.tmp*
|
|
40
|
+ rm -f MANIFEST profile*.tmp* .coverage
|
37
|
41
|
rm -rf build/ cdiff.egg-info/ dist/ __pycache__/
|
38
|
42
|
|
39
|
43
|
build:
|