diff --git a/makefiles/test-unit.mk b/makefiles/test-unit.mk index e346ade..7193925 100644 --- a/makefiles/test-unit.mk +++ b/makefiles/test-unit.mk @@ -4,11 +4,11 @@ UNIT_TEST_COUNT ?= 2 ## Run unit tests test-unit: @echo "Running unit tests." - @$(GO) test -gcflags=-l -coverprofile=unit.coverprofile -covermode=atomic -race ./... + @$(GO) test -short -gcflags=-l -coverprofile=unit.coverprofile -covermode=atomic -race ./... ## Run unit tests multiple times test-unit-multi: @echo "Running unit tests ${UNIT_TEST_COUNT} times." - @$(GO) test -gcflags=-l -coverprofile=unit.coverprofile -count $(UNIT_TEST_COUNT) -covermode=atomic -race ./... + @$(GO) test -short -gcflags=-l -coverprofile=unit.coverprofile -count $(UNIT_TEST_COUNT) -covermode=atomic -race ./... .PHONY: test-unit test-unit-multi