diff options
author | Dmitriy Vyukov <dvyukov@google.com> | 2012-11-01 22:02:52 +0400 |
---|---|---|
committer | Dmitriy Vyukov <dvyukov@google.com> | 2012-11-01 22:02:52 +0400 |
commit | 1db7caf1a0f18d789eca8973f9f0a10fb9668581 (patch) | |
tree | 4b2707ba44c025f19cf6ff9c73c46781a8ed613e /src/run.bash | |
parent | 791679500484ce5a867480418d37b1a20a529f14 (diff) | |
download | go-1db7caf1a0f18d789eca8973f9f0a10fb9668581.tar.gz |
run.bash: add sanity test for race detector
R=golang-dev, rsc
CC=golang-dev
http://codereview.appspot.com/6612064
Diffstat (limited to 'src/run.bash')
-rwxr-xr-x | src/run.bash | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/run.bash b/src/run.bash index 1859555fb..7fdd637d9 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 |