aboutsummaryrefslogtreecommitdiff
path: root/src/race.bat
diff options
context:
space:
mode:
authorBrad Fitzpatrick <bradfitz@golang.org>2015-06-08 17:56:27 -0700
committerBrad Fitzpatrick <bradfitz@golang.org>2015-06-09 05:22:37 +0000
commit10425507fd6f36bfe0fefa759d12322eba72b9b5 (patch)
tree32c72d4a6a0ced4a6b11d7ab2f3dc8b258a2d9d2 /src/race.bat
parentc9778ec302b2e0e0d6027e1e0fca892e428d9657 (diff)
downloadgo-10425507fd6f36bfe0fefa759d12322eba72b9b5.tar.gz
go-10425507fd6f36bfe0fefa759d12322eba72b9b5.zip
cmd/dist: move guts of race.bash into dist
After a little build coordinator change, this will get us sharding of the race builder. Update #11074 Change-Id: I4c55267563b6f5e213def7dd6707c837ae2106bf Reviewed-on: https://go-review.googlesource.com/10845 Reviewed-by: Andrew Gerrand <adg@golang.org>
Diffstat (limited to 'src/race.bat')
-rw-r--r--src/race.bat10
1 files changed, 1 insertions, 9 deletions
diff --git a/src/race.bat b/src/race.bat
index 1ab019c25a..83e62839ba 100644
--- a/src/race.bat
+++ b/src/race.bat
@@ -34,16 +34,8 @@ echo # go install -race std
go install -race std
if errorlevel 1 goto fail
-:: we must unset GOROOT_FINAL before tests, because runtime/debug requires
-:: correct access to source code, so if we have GOROOT_FINAL in effect,
-:: at least runtime/debug test will fail.
-set GOROOT_FINAL=
+go tool dist test -no-rebuild -race
-echo # go test -race -short std
-go test -race -short std
-if errorlevel 1 goto fail
-echo # go test -race -run=nothingplease -bench=.* -benchtime=.1s -cpu=4 std
-go test -race -run=nothingplease -bench=.* -benchtime=.1s -cpu=4 std
if errorlevel 1 goto fail
goto succ