]> Cypherpunks repositories - gostls13.git/commit
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, 18 Aug 2020 17:44:20 +0000 (17:44 +0000)
commitcdc77d34d7770ed02d84b9193380f9646017dce6
tree97e61364a5c1a6a5cb9e24878f25be20f743da0e
parent93eeb819cab491d4e429b7aa85a864a045979a18
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 #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>
src/cmd/go/testdata/script/test_json_interleaved.txt [new file with mode: 0644]
src/testing/testing.go