*: fix testing with the race detector

This commit is contained in:
Eric Chiang 2016-08-10 23:00:32 -07:00
parent 8c36ede200
commit 6349baf044

View File

@ -29,7 +29,7 @@ test:
@go test $(shell go list ./... | grep -v '/vendor/') @go test $(shell go list ./... | grep -v '/vendor/')
testrace: testrace:
@go test --race $(shell go list ./... | grep -v '/vendor/') @CGO_ENABLED=1 go test --race $(shell go list ./... | grep -v '/vendor/')
vet: vet:
@go vet $(shell go list ./... | grep -v '/vendor/') @go vet $(shell go list ./... | grep -v '/vendor/')