]> Cypherpunks repositories - gostls13.git/commit
cmd/go: use gover.Local for $goversion in TestScript
authorBryan C. Mills <bcmills@google.com>
Wed, 14 Jun 2023 21:16:59 +0000 (17:16 -0400)
committerGopher Robot <gobot@golang.org>
Wed, 14 Jun 2023 21:53:21 +0000 (21:53 +0000)
commitb01cd41b46eef0b7e60c6b1e84347a7ca9604224
treecde79dc010920376c29373efa2a04a417cac0d9b
parent3aea422e2cb8b1ec2e0c2774be97fe96c7299838
cmd/go: use gover.Local for $goversion in TestScript

Previously we used the highest Go build tag found in the build
configuration, which matches gover.Local for development toolchains
(it is always a bare language version), but is too low for releases.

Updates #57001.

Change-Id: I74c2f7ab06231858eee99ecd11ed3759853e01ed
Reviewed-on: https://go-review.googlesource.com/c/go/+/503537
Reviewed-by: Ian Lance Taylor <iant@google.com>
Run-TryBot: Bryan Mills <bcmills@google.com>
Auto-Submit: Bryan Mills <bcmills@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
src/cmd/go/script_test.go