]> Cypherpunks repositories - gostls13.git/commit
cmd/go: add timestamps to script test output
authorBryan C. Mills <bcmills@google.com>
Wed, 11 May 2022 14:42:39 +0000 (10:42 -0400)
committerGopher Robot <gobot@golang.org>
Wed, 11 May 2022 15:00:05 +0000 (15:00 +0000)
commitd339d085c9d0cff099668d3a85ebae4e25c6afa2
tree7101971b9bbd7ad224a66628055e103fc08383e3
parent949b3e9880bbce0740d1af327b91a0040fe2e12b
cmd/go: add timestamps to script test output

Go tests don't include timestamps by default, but we would like to
have them in order to correlate builder failures with server and
network logs.

Since many of the Go tests with external network and service
dependencies are script tests for the 'go' command, logging timestamps
here adds a lot of logging value with one simple and very low-risk
change.

For #50541.
For #52490.
For #52545.
For #52851.

Change-Id: If3fa86deb4a216ec6a1abc4e6f4ee9b05030a729
Reviewed-on: https://go-review.googlesource.com/c/go/+/405714
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
Auto-Submit: Bryan Mills <bcmills@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Bryan Mills <bcmills@google.com>
src/cmd/go/script_test.go