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.
This commit is contained in:
meows 2019-11-15 11:06:18 -05:00 committed by ia
parent 738b51ae31
commit fde76dc963

View file

@ -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