diff options
author | Andrew Gerrand <adg@golang.org> | 2014-12-23 12:09:38 +1100 |
---|---|---|
committer | Andrew Gerrand <adg@golang.org> | 2014-12-23 04:19:41 +0000 |
commit | 24ea0330fe8bc7970a3fc5c5377d54bf0cbe8660 (patch) | |
tree | 0a79f602ca378320feac784a18a81d656d0254c6 /src/run.bash | |
parent | 7f4c26850a6ede3cf619efd36e5ad853948a608a (diff) | |
download | go-24ea0330fe8bc7970a3fc5c5377d54bf0cbe8660.tar.gz go-24ea0330fe8bc7970a3fc5c5377d54bf0cbe8660.zip |
build: give freebsd longer to run tests
The freebsd-386 and freebsd-amd64 builders are timing out sometimes.
This will give them some more breathing room.
Change-Id: Ib65bd172cca046a52861759a4232d7b4b6514fa8
Reviewed-on: https://go-review.googlesource.com/1994
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Diffstat (limited to 'src/run.bash')
-rwxr-xr-x | src/run.bash | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/run.bash b/src/run.bash index 8da06d6803..dbd3ddb6af 100755 --- a/src/run.bash +++ b/src/run.bash @@ -47,8 +47,12 @@ fi # at least runtime/debug test will fail. unset GOROOT_FINAL -# increase timeout for ARM up to 3 times the normal value +# TODO(adg): create an environment variable and to permit the builders to +# specify the timeout scale. timeout_scale=1 +# the freebsd-* builders are slow, and there's no easy way to make them faster. +[ "$GOOS" == "freebsd" ] && timeout_scale=2 +# increase timeout for ARM up to 3 times the normal value [ "$GOARCH" == "arm" ] && timeout_scale=3 echo '##### Testing packages.' |