*: fix testing with the race detector
This commit is contained in:
parent
8c36ede200
commit
6349baf044
2
Makefile
2
Makefile
@ -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/')
|
||||||
|
Reference in New Issue
Block a user