From fde76dc9638b5aaad658fe98c5d26e50a27d8fc7 Mon Sep 17 00:00:00 2001 From: meows Date: Fri, 15 Nov 2019 11:06:18 -0500 Subject: [PATCH] Makefile: add env var to enable args to test cmd Usage: > make testargs=foo test This allows make command to handle -coverage and other arbitrary flags to the go command. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 5d4a82de83..48de10d1a5 100644 --- a/Makefile +++ b/Makefile @@ -30,7 +30,7 @@ ios: @echo "Import \"$(GOBIN)/Geth.framework\" to use the library." test: all - build/env.sh go run build/ci.go test + build/env.sh go run build/ci.go test $(testargs) lint: ## Run linters. build/env.sh go run build/ci.go lint