From: Alex Brainman Date: Fri, 3 Feb 2012 05:45:51 +0000 (+1100) Subject: build: crash if test runs forever X-Git-Tag: weekly.2012-02-07~102 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=8f9434b6c187b590c542a5d211f771d63a8c5bbf;p=gostls13.git build: crash if test runs forever R=golang-dev, rsc CC=golang-dev https://golang.org/cl/5604051 --- diff --git a/src/run.bash b/src/run.bash index f182922864..08c1feb187 100755 --- a/src/run.bash +++ b/src/run.bash @@ -38,15 +38,15 @@ fi echo echo '# Package tests' -time go test std -short +time go test std -short -timeout=120s echo echo '# runtime -cpu=1,2,4' -go test runtime -short -cpu=1,2,4 +go test runtime -short -timeout=120s -cpu=1,2,4 echo echo '# sync -cpu=10' -go test sync -short -cpu=10 +go test sync -short -timeout=120s -cpu=10 echo echo '# Build bootstrap scripts'