test/Makefile: add coverage target
License: MIT Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
Christian Couder committed
Oct 24, 2015 at 12:34 UTC
d5da16faf62e8fd4e0eebf26a3e5f7ad259bd0b4
1 file changed
+5
test/Makefile
+5
@@ -67,6 +67,11 @@ test_race: verify_gofmt
67
cd 3nodetest && make GOFLAGS=-race
68
cd dependencies && make GOFLAGS=-race
69
70
+coverage: coverage_sharness
71
+
72
+coverage_sharness:
73
+ ./sharness_test_coverage_helper.sh
74
+
75
IPFS-BUILD-OPTIONS: FORCE
76
@bin/checkflags '$@' '$(GOFLAGS)' '*** new Go flags ***'
77