|
@@ -2,19 +2,28 @@
|
2
|
2
|
|
3
|
3
|
TESTPYPI = https://testpypi.python.org/pypi
|
4
|
4
|
PYPI = https://pypi.python.org/pypi
|
5
|
|
-LONG_PATCH_CMD = for i in {1..100}; do cat tests/svn/in.diff; done
|
6
|
|
-PROFILE_ARGS = -m cProfile -s time cdiff.py -c always -s -w 60
|
7
|
5
|
|
8
|
|
-.PHONY: dogfood test test3 profile profile3 clean build dist-test dist
|
|
6
|
+.PHONY: dogfood clean build dist-test dist \
|
|
7
|
+ test test3 unit unit3 reg reg3 profile profile3
|
9
|
8
|
|
10
|
9
|
dogfood:
|
11
|
10
|
./cdiff.py
|
12
|
11
|
git diff | ./cdiff.py -s
|
13
|
12
|
|
14
|
|
-test:
|
|
13
|
+test: unit reg
|
|
14
|
+
|
|
15
|
+test3: unit3 reg3
|
|
16
|
+
|
|
17
|
+unit:
|
|
18
|
+ tests/test_cdiff.py
|
|
19
|
+
|
|
20
|
+unit3:
|
|
21
|
+ python3 tests/test_cdiff.py
|
|
22
|
+
|
|
23
|
+reg:
|
15
|
24
|
tests/regression.sh
|
16
|
25
|
|
17
|
|
-test3:
|
|
26
|
+reg3:
|
18
|
27
|
PYTHON=python3 tests/regression.sh
|
19
|
28
|
|
20
|
29
|
profile:
|