]> Cypherpunks repositories - gostls13.git/commitdiff
run.bash: run race tests on freebsd
authorDmitriy Vyukov <dvyukov@google.com>
Sat, 21 Jun 2014 00:54:18 +0000 (20:54 -0400)
committerDmitriy Vyukov <dvyukov@google.com>
Sat, 21 Jun 2014 00:54:18 +0000 (20:54 -0400)
LGTM=dave
R=golang-codereviews, dave
CC=golang-codereviews
https://golang.org/cl/102580043

src/run.bash

index 6eec7caa4040e944510dcafc7a1246d833075a5e..128f15c39556082fdd4c7e3f645f999dc99086dc 100755 (executable)
@@ -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