From 4d35da7c775c9fccba8f98e963cd505d6dc9c47c Mon Sep 17 00:00:00 2001 From: Evgenii Stratonikov Date: Thu, 14 Mar 2024 10:24:04 +0300 Subject: [PATCH] [#68] Makefile: Allow to override testflags Signed-off-by: Evgenii Stratonikov --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index cd5e84d..888fd20 100755 --- a/Makefile +++ b/Makefile @@ -51,9 +51,10 @@ protoc: rm -rf vendor # Run Unit Test with go test +test: GOFLAGS ?= "-count=1" test: @echo "⇒ Running go test" - @go test ./... -count=1 + @GOFLAGS="$(GOFLAGS)" go test ./... # Run linters lint: