]> Cypherpunks repositories - gostls13.git/commit
[release-branch.go1.14] 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:40:54 +0000 (19:40 +0000)
commit2cab203bdaaac657b2f343760b6f65cf0e861cb6
treef0c267788d92c27637b9337e13ad6bb1c7641bef
parent053469c426969303bd72405ce24ffdab96fce439
[release-branch.go1.14] 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 #40848
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/+/249098
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