Bläddra i källkod

Clean up test targets

Matthew Wang 11 år sedan
förälder
incheckning
4f3690eef8
1 ändrade filer med 14 tillägg och 5 borttagningar
  1. 14
    5
      Makefile

+ 14
- 5
Makefile Visa fil

2
 
2
 
3
 TESTPYPI = https://testpypi.python.org/pypi
3
 TESTPYPI = https://testpypi.python.org/pypi
4
 PYPI = https://pypi.python.org/pypi
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
 dogfood:
9
 dogfood:
11
 	./cdiff.py
10
 	./cdiff.py
12
 	git diff | ./cdiff.py -s
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
 	tests/regression.sh
24
 	tests/regression.sh
16
 
25
 
17
-test3:
26
+reg3:
18
 	PYTHON=python3 tests/regression.sh
27
 	PYTHON=python3 tests/regression.sh
19
 
28
 
20
 profile:
29
 profile: