forked from TrueCloudLab/frostfs-sdk-go
[#209] Makefile: Allow to override test flags
Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
This commit is contained in:
parent
64b83f8220
commit
d9ec7c1988
1 changed files with 2 additions and 1 deletions
3
Makefile
3
Makefile
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue