From: Dmitriy Vyukov Date: Thu, 1 Nov 2012 18:02:52 +0000 (+0400) Subject: run.bash: add sanity test for race detector X-Git-Tag: go1.1rc2~1996 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=95329d4cd4c036f5b0ab77eaea7927f124d81c97;p=gostls13.git run.bash: add sanity test for race detector R=golang-dev, rsc CC=golang-dev https://golang.org/cl/6612064 --- diff --git a/src/run.bash b/src/run.bash index 1859555fb1..7fdd637d99 100755 --- a/src/run.bash +++ b/src/run.bash @@ -46,6 +46,14 @@ echo echo '# sync -cpu=10' go test sync -short -timeout=120s -cpu=10 +case "$GOHOSTOS-$GOOS-$GOARCH" in +linux-linux-amd64 | darwin-darwin-amd64) + echo + echo '# Testing race detector.' + go test -race -i flag + go test -race -short flag +esac + xcd() { echo echo '#' $1