diff options
Diffstat (limited to 'src/run.bat')
-rw-r--r-- | src/run.bat | 6 |
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 |