mirror of
https://github.com/golang/go
synced 2024-11-23 01:50:04 -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'
|
echo '# sync -cpu=10'
|
||||||
go test sync -short -timeout=120s -cpu=10
|
go test sync -short -timeout=120s -cpu=10
|
||||||
|
|
||||||
case "$GOHOSTOS-$GOOS-$GOARCH" in
|
case "$GOHOSTOS-$GOOS-$GOARCH-$CGO_ENABLED" in
|
||||||
linux-linux-amd64 | darwin-darwin-amd64)
|
linux-linux-amd64-1 | darwin-darwin-amd64-1)
|
||||||
echo
|
echo
|
||||||
echo '# Testing race detector.'
|
echo '# Testing race detector.'
|
||||||
go test -race -i flag
|
go test -race -i flag
|
||||||
|
Loading…
Reference in New Issue
Block a user