From 8fadb70cf8d8a2a10673cdcb1441104ce2e437cf Mon Sep 17 00:00:00 2001 From: Russ Cox Date: Thu, 1 Nov 2012 15:13:00 -0400 Subject: [PATCH] build: do not run race tests with cgo disabled R=dvyukov CC=golang-dev https://golang.org/cl/6810067 --- src/run.bash | 4 ++-- 1 file 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 -- 2.48.1