1
0
mirror of https://github.com/golang/go synced 2024-11-23 04:50:06 -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:
Russ Cox 2012-11-01 15:13:00 -04:00
parent 936498e5dc
commit 8fadb70cf8

View File

@ -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