`make test` now runs expensive tests.
We use make test as the measure of correctness. This laxity has let bugs creep into several systems. This commit changes our target to always run expensive tests, unless one specifically runs `make test_short` (we would do well to remove most if not all timing-- that's usually what makes tests take a long time.)
Juan Batiz-Benet committed
Jan 4, 2015 at 13:24 UTC
f6def11eb3f5c6388fe5a030645f0c64d20dffb2
1 file changed
+8
-3
Makefile
+8
-3
@@ -13,20 +13,25 @@ vendor: godep
13
install:
14
cd cmd/ipfs && go install
15
16
-test: test_go test_sharness
16
+##############################################################
17
+# tests targets
18
+
19
+test: test_expensive
20
+
21
+test_short: test_go_short test_sharness_short
22
23
test_expensive: test_go_expensive test_sharness_expensive
24
25
test_docker:
26
cd dockertest/ && make
27
23
-test_go:
28
+test_go_short:
29
go test -test.short ./...
30
31
test_go_expensive:
32
go test ./...
33
29
-test_sharness:
34
+test_sharness_short:
35
cd test/ && make
36
37
test_sharness_expensive: