aboutsummaryrefslogtreecommitdiff
path: root/src/race.bash
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.bash
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.bash')
-rwxr-xr-xsrc/race.bash9
1 files changed, 1 insertions, 8 deletions
diff --git a/src/race.bash b/src/race.bash
index b305c8f970..f1543c403a 100755
--- a/src/race.bash
+++ b/src/race.bash
@@ -41,11 +41,4 @@ if [ ! -f make.bash ]; then
fi
. ./make.bash --no-banner
go install -race std
-
-# 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.
-unset GOROOT_FINAL
-
-go test -race -short std
-go test -race -run=nothingplease -bench=.* -benchtime=.1s -cpu=4 std
+go tool dist test -no-rebuild -race