aboutsummaryrefslogtreecommitdiff
path: root/src/run.bat
diff options
context:
space:
mode:
authorAlex Brainman <alex.brainman@gmail.com>2013-08-15 12:13:00 +1000
committerAlex Brainman <alex.brainman@gmail.com>2013-08-15 12:13:00 +1000
commitc7a64cce654e7206fe3bc220182133751b88a074 (patch)
tree8f9a96829226c40014252cd96c095e4d0ca264b0 /src/run.bat
parentf718036217df2d3386fb6eb72cc6bdcf156f6fc8 (diff)
downloadgo-c7a64cce654e7206fe3bc220182133751b88a074.tar.gz
go-c7a64cce654e7206fe3bc220182133751b88a074.zip
runtime/race: add end-to-end test on windows
whatever "end-to-end" means here R=golang-dev, dvyukov CC=golang-dev https://golang.org/cl/12898044
Diffstat (limited to 'src/run.bat')
-rw-r--r--src/run.bat4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/run.bat b/src/run.bat
index bf038d1a76..48f6711ff5 100644
--- a/src/run.bat
+++ b/src/run.bat
@@ -54,7 +54,9 @@ echo.
if not "%GOHOSTOS%-%GOOS%-%GOARCH%-%CGO_ENABLED%" == "windows-windows-amd64-1" goto norace
echo # Testing race detector.
-go test -race -i flag
+go test -race -i runtime/race flag
+if errorlevel 1 goto fail
+go test -race -run=Output runtime/race
if errorlevel 1 goto fail
go test -race -short flag
if errorlevel 1 goto fail