Add test_expensive target to the main Makefile
Now 'make test' will run the go tests with option -test.short and the sharness tests without any option. And 'make test_expensive' will run the go tests without any option and the sharness tests with option TEST_EXPENSIVE=1. This should help fix the first part of issue #283. License: MIT Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
Christian Couder committed
Nov 22, 2014 at 16:08 UTC
3edbadd120d66e8ba8bf9fc836784af02dace0ef
1 file changed
+8
Makefile
+8
@@ -15,8 +15,16 @@ install:
15
16
test: test_go test_sharness
17
18
+test_expensive: test_go_expensive test_sharness_expensive
19
+
20
test_go:
21
+ go test -test.short ./...
22
+
23
+test_go_expensive:
24
go test ./...
25
26
test_sharness:
27
cd test/ && make
28
+
29
+test_sharness_expensive:
30
+ cd test/ && make TEST_EXPENSIVE=1