@cryptotaxi247 / kubo / commits / 2df61862a

coverage: disable plugin tests during sharness coverage collection

License: MIT Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>

Jakub Sztandera committed Jul 14, 2017 at 12:18 UTC 2df61862ac6d0210e0a1476d64b8029718c4b1ab
1 file changed +1
coverage/Rules.mk
+1
@@ -41,6 +41,7 @@ endif
41
42 export IPFS_COVER_DIR:= $(realpath $(d))/sharnesscover/
43
44 +$(D)/sharness_tests.coverprofile: export TEST_NO_PLUGIN=1
45 $(d)/sharness_tests.coverprofile: $(d)/ipfs cmd/ipfs/ipfs-test-cover $(d)/coverage_deps test_sharness_short
46 (cd $(@D)/sharnesscover && find . -type f | gocovmerge -list -) > $@
47