]> Cypherpunks repositories - gostls13.git/commit
[release-branch.go1.21] cmd/dist: handle -json flag in runPending (minimal)
authorDmitri Shuralyov <dmitshur@golang.org>
Fri, 21 Jul 2023 17:49:06 +0000 (13:49 -0400)
committerGopher Robot <gobot@golang.org>
Fri, 28 Jul 2023 17:57:22 +0000 (17:57 +0000)
commit6df6e61cbbb1c3e002986ce91ee5f5d5d7e00c86
tree6766bed8147e16b247aef5233399cd6ae7b1188b
parentb25266c58debb831cd880a7372b197466e75b833
[release-branch.go1.21] cmd/dist: handle -json flag in runPending (minimal)

The -json flag is new to Go 1.21, but missed skips in runPending.
This CL adds minimal code to fix that. CL 512115 cleans up a bit.

For #37486.
Fixes #61557.

Change-Id: I53e426c9a5585b2703f0ff6661a0470e1993f960
Reviewed-on: https://go-review.googlesource.com/c/go/+/513761
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Austin Clements <austin@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Run-TryBot: Dmitri Shuralyov <dmitshur@golang.org>
Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org>
src/cmd/dist/test.go