diff options
| author | Russ Cox <rsc@golang.org> | 2022-11-07 11:58:45 -0500 |
|---|---|---|
| committer | Gopher Robot <gobot@golang.org> | 2022-11-09 17:33:07 +0000 |
| commit | 7a92c4fc637621368eb26a7e72bb027b29568e50 (patch) | |
| tree | 820c68aa8b5e1f43dfe337cb10ddd908bac5b838 /src/cmd/internal/test2json/testdata/unicode.json | |
| parent | 9ff2a6677fd34084295172aff0848ab9a4f5b76e (diff) | |
| download | go-7a92c4fc637621368eb26a7e72bb027b29568e50.tar.xz | |
cmd/go: print test2json start events
Add a new "Action":"start" test2json event to mark the
start of the test binary execution. This adds useful information
to the JSON traces, and it also lets programs watching test
execution see the order in which the tests are being run,
because we arrange for the starts to happen sequentially.
Change-Id: I9fc865a486a55a7e9315f8686f59a2aa06455884
Reviewed-on: https://go-review.googlesource.com/c/go/+/448357
Run-TryBot: Russ Cox <rsc@golang.org>
Auto-Submit: Russ Cox <rsc@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Bryan Mills <bcmills@google.com>
Diffstat (limited to 'src/cmd/internal/test2json/testdata/unicode.json')
| -rw-r--r-- | src/cmd/internal/test2json/testdata/unicode.json | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cmd/internal/test2json/testdata/unicode.json b/src/cmd/internal/test2json/testdata/unicode.json index 9cfb5f2d49..2cc3e7322d 100644 --- a/src/cmd/internal/test2json/testdata/unicode.json +++ b/src/cmd/internal/test2json/testdata/unicode.json @@ -1,3 +1,4 @@ +{"Action":"start"} {"Action":"run","Test":"TestUnicode"} {"Action":"output","Test":"TestUnicode","Output":"=== RUN TestUnicode\n"} {"Action":"output","Test":"TestUnicode","Output":"Μπορώ να φάω σπασμένα γυαλιά χωρίς να πάθω τίποτα. Μπορώ να φάω σπασμένα γυαλιά χωρίς να πάθω τίποτα.\n"} |
