]> Cypherpunks repositories - gostls13.git/commitdiff
runtime/race: add end-to-end test on windows
authorAlex Brainman <alex.brainman@gmail.com>
Thu, 15 Aug 2013 02:13:00 +0000 (12:13 +1000)
committerAlex Brainman <alex.brainman@gmail.com>
Thu, 15 Aug 2013 02:13:00 +0000 (12:13 +1000)
whatever "end-to-end" means here

R=golang-dev, dvyukov
CC=golang-dev
https://golang.org/cl/12898044

src/run.bat

index bf038d1a767873c60bc96b00e28cd55b15470d8d..48f6711ff5260337c8103e1736092222a6fd5b6a 100644 (file)
@@ -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