]> Cypherpunks repositories - gostls13.git/commit
cmd/go/internal/test: pass default timeout to test programs if not given from command...
authorOkamotoYuki <okamoto.yuki.0130@gmail.com>
Sun, 10 Mar 2019 02:38:12 +0000 (02:38 +0000)
committerBryan C. Mills <bcmills@google.com>
Sat, 13 Apr 2019 02:39:29 +0000 (02:39 +0000)
commitee64b35531a841ab4dbe41c17390214f9dea654f
treef26098e80dd90904024a16b961f3911824d65412
parentc40bffd90535bd9d5bf6a398f5227ff2c9aaed52
cmd/go/internal/test: pass default timeout to test programs if not given from command line

Make 'go test' command to pass the default timeout (10m) to test programs if the value is not given from command line.

Fixes #28147

Change-Id: I7856e452224a51a92da03bab8e3a0f9d7c41d32a
GitHub-Last-Rev: 66f9a6f90e9ffe7c58d5c1fe32af84e16ea74ab8
GitHub-Pull-Request: golang/go#30545
Reviewed-on: https://go-review.googlesource.com/c/go/+/164963
Run-TryBot: Bryan C. Mills <bcmills@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Bryan C. Mills <bcmills@google.com>
src/cmd/go/internal/test/test.go
src/cmd/go/testdata/script/test_timeout.txt [new file with mode: 0644]