From: Alex Brainman Date: Thu, 15 Aug 2013 02:13:00 +0000 (+1000) Subject: runtime/race: add end-to-end test on windows X-Git-Tag: go1.2rc2~559 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=c7a64cce654e7206fe3bc220182133751b88a074;p=gostls13.git 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 --- 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