]> Cypherpunks repositories - gostls13.git/commitdiff
build: do not run race tests with cgo disabled
authorRuss Cox <rsc@golang.org>
Thu, 1 Nov 2012 19:13:00 +0000 (15:13 -0400)
committerRuss Cox <rsc@golang.org>
Thu, 1 Nov 2012 19:13:00 +0000 (15:13 -0400)
R=dvyukov
CC=golang-dev
https://golang.org/cl/6810067

src/run.bash

index 7fdd637d9942ef1760712864b51e6835cf477f57..0de36feca4496e31789ae547af5120d7c223fdff 100755 (executable)
@@ -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