aboutsummaryrefslogtreecommitdiff
path: root/src/run.bash
diff options
context:
space:
mode:
authorDmitriy Vyukov <dvyukov@google.com>2014-06-20 20:54:18 -0400
committerDmitriy Vyukov <dvyukov@google.com>2014-06-20 20:54:18 -0400
commita668114834b67db2da4ce467487a2b87ff9ca50e (patch)
treed0d7ca0ca26f3280c32419a41975f0e4d10c03ee /src/run.bash
parentf1f37f93d08ca24dc9769dc448b6f96bc3667aaf (diff)
downloadgo-a668114834b67db2da4ce467487a2b87ff9ca50e.tar.gz
go-a668114834b67db2da4ce467487a2b87ff9ca50e.zip
run.bash: run race tests on freebsd
LGTM=dave R=golang-codereviews, dave CC=golang-codereviews https://golang.org/cl/102580043
Diffstat (limited to 'src/run.bash')
-rwxr-xr-xsrc/run.bash4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/run.bash b/src/run.bash
index 6eec7caa40..128f15c395 100755
--- a/src/run.bash
+++ b/src/run.bash
@@ -64,10 +64,10 @@ echo
echo '# sync -cpu=10'
go test sync -short -timeout=$(expr 120 \* $timeout_scale)s -cpu=10
-# Race detector only supported on Linux and OS X,
+# Race detector only supported on Linux, FreeBSD and OS X,
# and only on amd64, and only when cgo is enabled.
case "$GOHOSTOS-$GOOS-$GOARCH-$CGO_ENABLED" in
-linux-linux-amd64-1 | darwin-darwin-amd64-1)
+linux-linux-amd64-1 | freebsd-freebsd-amd64-1 | darwin-darwin-amd64-1)
echo
echo '# Testing race detector.'
go test -race -i runtime/race flag