Browse Source

go get github.com/wadey/gocovmerge when needed (#2235)

for-closed-social
Antoine GIRARD 6 years ago
committed by Lunny Xiao
parent
commit
a804f0e052
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      Makefile

+ 3
- 0
Makefile View File

@ -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;\

Loading…
Cancel
Save