]> Cypherpunks repositories - gostls13.git/commit
[release-branch.go1.13] cmd/go/internal/test: prepend -test.timeout rather than appending
authorBryan C. Mills <bcmills@google.com>
Wed, 4 Sep 2019 16:59:41 +0000 (12:59 -0400)
committerBryan C. Mills <bcmills@google.com>
Thu, 5 Sep 2019 11:25:38 +0000 (11:25 +0000)
commit6bbfea923e5b1450cba7b2082ba2e73b85ab82cc
treed553a8e42b581e0df1a217e1802fdd4c921f34c3
parentb7ff8ffa057ecd70665efd12f7690410d27294d1
[release-branch.go1.13] cmd/go/internal/test: prepend -test.timeout rather than appending

Tests may accept positional arguments, in which case the -test.timeout
flag must be passed before those arguments.

Updates #34072
Fixes #34083

Change-Id: I5b92d7c0edc4f9e1efb63b0733937b76236c0eff
Reviewed-on: https://go-review.googlesource.com/c/go/+/193297
Run-TryBot: Bryan C. Mills <bcmills@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
(cherry picked from commit d21953df047868ed3bcfd0172a6c1672642f5b4a)
Reviewed-on: https://go-review.googlesource.com/c/go/+/193269
src/cmd/go/internal/test/test.go
src/cmd/go/testdata/script/test_timeout.txt