]> Cypherpunks repositories - gostls13.git/commit
[release-branch.go1.15] testing: treat PAUSE lines as changing the active test name
authorBryan C. Mills <bcmills@google.com>
Mon, 17 Aug 2020 21:31:21 +0000 (17:31 -0400)
committerBryan C. Mills <bcmills@google.com>
Tue, 1 Sep 2020 19:41:10 +0000 (19:41 +0000)
commit0ffc5672df75accd06fb7477c46d4a7d1740401d
tree66782a0f9de2303c50a24519800b244c16fe4a0c
parentb990aa0ed761e3ef8ed40a6c13f70fcd58c02905
[release-branch.go1.15] testing: treat PAUSE lines as changing the active test name

We could instead fix cmd/test2json to treat PAUSE lines as *not*
changing the active test name, but that seems like it would be more
confusing to humans, and also wouldn't fix tools that parse output
using existing builds of cmd/test2json.

Fixes #40849
Updates #40657

Change-Id: I937611778f5b1e7dd1d6e9f44424d7e725a589ed
Reviewed-on: https://go-review.googlesource.com/c/go/+/248727
Run-TryBot: Bryan C. Mills <bcmills@google.com>
Reviewed-by: Jean de Klerk <deklerk@google.com>
(cherry picked from commit cdc77d34d7770ed02d84b9193380f9646017dce6)
Reviewed-on: https://go-review.googlesource.com/c/go/+/249097
TryBot-Result: Gobot Gobot <gobot@golang.org>
src/cmd/go/testdata/script/test_json_interleaved.txt [new file with mode: 0644]
src/testing/testing.go