From: Russ Cox Date: Thu, 1 Nov 2012 19:13:00 +0000 (-0400) Subject: build: do not run race tests with cgo disabled X-Git-Tag: go1.1rc2~1985 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=8fadb70cf8d8a2a10673cdcb1441104ce2e437cf;p=gostls13.git build: do not run race tests with cgo disabled R=dvyukov CC=golang-dev https://golang.org/cl/6810067 --- diff --git a/src/run.bash b/src/run.bash index 7fdd637d99..0de36feca4 100755 --- a/src/run.bash +++ b/src/run.bash @@ -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