diff --git a/GNUmakefile b/GNUmakefile index 533b89c051..41c3c7d457 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -50,6 +50,10 @@ test: dev go test -tags "$(GOTAGS)" -i -run '^$$' ./... ( set -o pipefail ; go test -tags "$(GOTAGS)" -v ./... 2>&1 | tee test.log ) +test-race: dev + go test -tags "$(GOTAGS)" -i -run '^$$' ./... + ( set -o pipefail ; go test -race -tags "$(GOTAGS)" -v ./... 2>&1 | tee test-race.log ) + cover: go test $(GOFILES) --cover