1
0
mirror of https://github.com/golang/go synced 2024-11-22 16:25:07 -07:00

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
This commit is contained in:
Alex Brainman 2013-08-15 12:13:00 +10:00
parent f718036217
commit c7a64cce65

View File

@ -54,7 +54,9 @@ echo.
if not "%GOHOSTOS%-%GOOS%-%GOARCH%-%CGO_ENABLED%" == "windows-windows-amd64-1" goto norace if not "%GOHOSTOS%-%GOOS%-%GOARCH%-%CGO_ENABLED%" == "windows-windows-amd64-1" goto norace
echo # Testing race detector. 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 if errorlevel 1 goto fail
go test -race -short flag go test -race -short flag
if errorlevel 1 goto fail if errorlevel 1 goto fail