1
0
mirror of https://github.com/golang/go synced 2024-11-19 06:54:39 -07:00

run.bash: add sanity test for race detector

R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/6612064
This commit is contained in:
Dmitriy Vyukov 2012-11-01 22:02:52 +04:00
parent 76500b14a1
commit 95329d4cd4

View File

@ -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