]> Cypherpunks repositories - gostls13.git/commit
cmd/internal/bootstrap_test: update TestExperimentToolID for Go 1.21
authorDmitri Shuralyov <dmitshur@golang.org>
Sun, 7 May 2023 02:52:06 +0000 (22:52 -0400)
committerGopher Robot <gobot@golang.org>
Fri, 12 May 2023 18:47:14 +0000 (18:47 +0000)
commit202ba7deab99251577027b8a1360d5d21c76e75d
treec3db7c74176e9a6424df0e52c485838d03216864
parentacd8dc95833182df86831ec78e7470864bdb3b88
cmd/internal/bootstrap_test: update TestExperimentToolID for Go 1.21

This test is configured to run only when explicitly requested due to
being costly. Apply two updates so it can run on the toolchain today:

- overlay GOROOT/lib for zoneinfo.zip (similarly to CL 462279)
- stop expecting framepointer to be listed in the GOEXPERIMENT
  section of the compiler version (see CL 49252 and CL 249857)

I checked if by now there's another test that would report a problem
if the fix made in CL 186200 had regressed. Running all.bash locally
with GO_TEST_SHORT=0 GO_BUILDER_NAME=darwin-arm64-longtest passed ok,
while this manual test did catch the problem.

Also simplify the test implementation while here so it's less different
from TestRepeatBootstrap.

For #33091.

Change-Id: I14eea18c19c2e8996bcba31c80e03dcf679f56ab
Reviewed-on: https://go-review.googlesource.com/c/go/+/493475
Reviewed-by: Bryan Mills <bcmills@google.com>
Run-TryBot: Dmitri Shuralyov <dmitshur@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
src/cmd/internal/bootstrap_test/experiment_toolid_test.go
src/cmd/internal/bootstrap_test/reboot_test.go