forked from TrueCloudLab/frostfs-api-go
[#68] Makefile: Allow to override testflags
Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
This commit is contained in:
parent
a7bcad6aa9
commit
4d35da7c77
1 changed files with 2 additions and 1 deletions
3
Makefile
3
Makefile
|
@ -51,9 +51,10 @@ protoc:
|
||||||
rm -rf vendor
|
rm -rf vendor
|
||||||
|
|
||||||
# Run Unit Test with go test
|
# Run Unit Test with go test
|
||||||
|
test: GOFLAGS ?= "-count=1"
|
||||||
test:
|
test:
|
||||||
@echo "⇒ Running go test"
|
@echo "⇒ Running go test"
|
||||||
@go test ./... -count=1
|
@GOFLAGS="$(GOFLAGS)" go test ./...
|
||||||
|
|
||||||
# Run linters
|
# Run linters
|
||||||
lint:
|
lint:
|
||||||
|
|
Loading…
Reference in a new issue