summaryrefslogtreecommitdiff
path: root/src/run.bat
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2014-02-15 20:03:41 -0500
committerRuss Cox <rsc@golang.org>2014-02-15 20:03:41 -0500
commit64a6e3440bf56b7c8baa19ef1594d6c7d9864b2b (patch)
treeb8857e40d2a14db2f4a8a41cf9f193bec44ee533 /src/run.bat
parentd378f86d75dd2d649e456ccc4039ed87f1a7ae64 (diff)
downloadgo-64a6e3440bf56b7c8baa19ef1594d6c7d9864b2b.tar.gz
build: disable race detector test in run.bat on windows
CL 64170043 disabled it in run.bash for Unix systems. I did not realize Windows systems also ran the race detector test. TBR=iant CC=golang-codereviews https://codereview.appspot.com/64480043
Diffstat (limited to 'src/run.bat')
-rw-r--r--src/run.bat6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/run.bat b/src/run.bat
index 48f6711ff..9389d981c 100644
--- a/src/run.bat
+++ b/src/run.bat
@@ -52,7 +52,11 @@ go test sync -short -timeout=120s -cpu=10
if errorlevel 1 goto fail
echo.
-if not "%GOHOSTOS%-%GOOS%-%GOARCH%-%CGO_ENABLED%" == "windows-windows-amd64-1" goto norace
+# Race detector only supported on Linux and OS X,
+# and only on amd64, and only when cgo is enabled.
+# Disabled due to golang.org/issue/7334; remove XXX below
+# and in run.bash to reenable.
+if not "%GOHOSTOS%-%GOOS%-%GOARCH%-%CGO_ENABLED%" == "XXXwindows-windows-amd64-1" goto norace
echo # Testing race detector.
go test -race -i runtime/race flag
if errorlevel 1 goto fail