mirror of
https://github.com/golang/go
synced 2024-11-22 22:00:02 -07:00
build: do not run race tests with cgo disabled
R=dvyukov CC=golang-dev https://golang.org/cl/6810067
This commit is contained in:
parent
936498e5dc
commit
8fadb70cf8
@ -46,8 +46,8 @@ echo
|
||||
echo '# sync -cpu=10'
|
||||
go test sync -short -timeout=120s -cpu=10
|
||||
|
||||
case "$GOHOSTOS-$GOOS-$GOARCH" in
|
||||
linux-linux-amd64 | darwin-darwin-amd64)
|
||||
case "$GOHOSTOS-$GOOS-$GOARCH-$CGO_ENABLED" in
|
||||
linux-linux-amd64-1 | darwin-darwin-amd64-1)
|
||||
echo
|
||||
echo '# Testing race detector.'
|
||||
go test -race -i flag
|
||||
|
Loading…
Reference in New Issue
Block a user