[#209] Makefile: Allow to override test flags

Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
pull/209/head
Evgenii Stratonikov 2024-03-14 12:29:00 +03:00
parent 64b83f8220
commit d9ec7c1988
1 changed files with 2 additions and 1 deletions

View File

@ -8,8 +8,9 @@ OUTPUT_LINT_DIR ?= $(shell pwd)/bin
LINT_DIR = $(OUTPUT_LINT_DIR)/golangci-lint-$(LINT_VERSION)-v$(TRUECLOUDLAB_LINT_VERSION)
# Run tests
test: GOFLAGS ?= "-cover -count=1"
test:
@go test ./... -cover -count=1
@GOFLAGS=$(GOFLAGS) go test ./...
# Pull go dependencies
dep: