Этот коммит содержится в:
Christopher Speller
2017-06-05 16:40:17 -07:00
коммит произвёл Corey Hulen
родитель 86fe96a6e2
Коммит 414c2fd2bf

Просмотреть файл

@@ -53,6 +53,7 @@ DIST_PATH=$(DIST_ROOT)/mattermost
TESTS=.
TESTFLAGS ?= -short
TESTFLAGSEE ?= -test.short
# Packages lists
TE_PACKAGES=$(shell go list ./... | grep -v vendor)
@@ -269,7 +270,7 @@ ifeq ($(BUILD_ENTERPRISE_READY),true)
$(GO) test $(GOFLAGS) -run=$(TESTS) -covermode=count -coverpkg=$(ALL_PACKAGES_COMMA) -c $$package; \
if [ -f $$(basename $$package).test ]; then \
echo "Testing "$$package; \
./$$(basename $$package).test -test.v $(TESTFLAGS) -test.timeout=2000s -test.coverprofile=cprofile.out || exit 1; \
./$$(basename $$package).test -test.v $(TESTFLAGSEE) -test.timeout=2000s -test.coverprofile=cprofile.out || exit 1; \
if [ -f cprofile.out ]; then \
tail -n +2 cprofile.out >> cover.out; \
rm cprofile.out; \