aboutsummaryrefslogtreecommitdiff
path: root/src/run.bash
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2012-11-01 15:13:00 -0400
committerRuss Cox <rsc@golang.org>2012-11-01 15:13:00 -0400
commit8fadb70cf8d8a2a10673cdcb1441104ce2e437cf (patch)
treebb324b5f9e97933b08045f4ee44656fb1e0ac138 /src/run.bash
parent936498e5dcd8a329a5da8cd743f60bdb820e6c22 (diff)
downloadgo-8fadb70cf8d8a2a10673cdcb1441104ce2e437cf.tar.xz
build: do not run race tests with cgo disabled
R=dvyukov CC=golang-dev https://golang.org/cl/6810067
Diffstat (limited to 'src/run.bash')
-rwxr-xr-xsrc/run.bash4
1 files changed, 2 insertions, 2 deletions
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