aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index e4fe4595fa..6b2877c726 100644
--- a/Makefile
+++ b/Makefile
@@ -126,6 +126,9 @@ test: fmt-check
.PHONY: test-coverage
test-coverage: unit-test-coverage integration-test-coverage
+ @hash gocovmerge > /dev/null 2>&1; if [ $$? -ne 0 ]; then \
+ go get -u github.com/wadey/gocovmerge; \
+ fi
for PKG in $(PACKAGES); do\
touch $$GOPATH/src/$$PKG/coverage.out;\
egrep "$$PKG[^/]*\.go" integration.coverage.out > int.coverage.out;\