summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorChristopher Speller <crspeller@gmail.com>2017-06-05 16:40:17 -0700
committerCorey Hulen <corey@hulen.com>2017-06-05 16:40:17 -0700
commit414c2fd2bf674a6211912107390b4ad75acc66d2 (patch)
treef54f7b0db6b65e708382ce522e97f023ed5299a6 /Makefile
parent86fe96a6e2f06b09d1cb5243e3e76834594ddb9c (diff)
downloadchat-414c2fd2bf674a6211912107390b4ad75acc66d2.tar.gz
chat-414c2fd2bf674a6211912107390b4ad75acc66d2.tar.bz2
chat-414c2fd2bf674a6211912107390b4ad75acc66d2.zip
Fix EE Short tests (#6585)
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 17f225c5f..5cf1eeb75 100644
--- a/Makefile
+++ b/Makefile
@@ -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; \