Commit 8fadb70c authored by Russ Cox's avatar Russ Cox

build: do not run race tests with cgo disabled

R=dvyukov
CC=golang-dev
https://golang.org/cl/6810067
parent 936498e5
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment