summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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; \