Makefile: run coverage tests with -tags=debug

This commit is contained in:
Conner Fromknecht 2018-08-07 15:34:22 -07:00
parent 57d87aef3b
commit 8bb4337cac
No known key found for this signature in database
GPG Key ID: E7D737B67FA592C7

@ -40,8 +40,10 @@ GOLIST := go list $(PKG)/... | grep -v '/vendor/'
GOLISTCOVER := $(shell go list -f '{{.ImportPath}}' ./... | sed -e 's/^$(ESCPKG)/./')
GOLISTLINT := $(shell go list -f '{{.Dir}}' ./... | grep -v 'lnrpc')
include make/testing_flags.mk
COVER = for dir in $(GOLISTCOVER); do \
$(GOTEST) $(TEST_FLAGS) \
$(GOTEST) -tags="$(TEST_TAGS)" \
-covermode=count \
-coverprofile=$$dir/profile.tmp $$dir; \
\
@ -75,7 +77,6 @@ define print
echo $(GREEN)$1$(NC)
endef
include make/testing_flags.mk
default: scratch