]> Cypherpunks repositories - gostls13.git/commit
cmd/dist: make registerTest take a goTest
authorAustin Clements <austin@google.com>
Thu, 13 Oct 2022 14:57:13 +0000 (10:57 -0400)
committerAustin Clements <austin@google.com>
Wed, 16 Nov 2022 21:35:20 +0000 (21:35 +0000)
commit135770abea9170dd518c636b70bb58329f008af9
tree54a82e004c52caae273732f82102e31f7d4f7054
parent2946c887babdafd8e92550723d5bd0aeb5613335
cmd/dist: make registerTest take a goTest

The overall goal is to make registerTest the primary entry point for
adding dist tests and to convert nearly all dist tests to be
represented by a goTest, registered via registerTest. This will
centralize the logic for creating dist tests corresponding to go tool
tests.

I traced all exec calls from cmd/dist on linux/amd64 and this makes
only no-op changes (such as re-arranging the order of flags).

For #37486.

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