1
0
mirror of https://github.com/golang/go synced 2024-11-25 16:47:56 -07:00

cmd/dist: remove iter,slices,maps test on GOEXPERIMENT=rangefunc

In go1.23, don't need use GOEXPERIMENT=rangefunc enable range-over-func.

Change-Id: I88b799c4b38c8fbeed8d9f912a0c3c6c45c80e9d
GitHub-Last-Rev: 64fd4524f1
GitHub-Pull-Request: golang/go#68325
Reviewed-on: https://go-review.googlesource.com/c/go/+/596517
Auto-Submit: Ian Lance Taylor <iant@google.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Reviewed-by: Than McIntosh <thanm@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
This commit is contained in:
qiulaidongfeng 2024-07-06 23:03:27 +00:00 committed by Gopher Robot
parent b43d6c57de
commit 5565462a86

13
src/cmd/dist/test.go vendored
View File

@ -711,19 +711,6 @@ func (t *tester) registerTests() {
})
}
// GOEXPERIMENT=rangefunc tests
if !t.compileOnly {
for _, pkg := range []string{"iter", "slices", "maps"} {
t.registerTest("GOEXPERIMENT=rangefunc",
&goTest{
variant: pkg,
short: t.short,
env: []string{"GOEXPERIMENT=rangefunc"},
pkg: pkg,
})
}
}
// GODEBUG=gcstoptheworld=2 tests. We only run these in long-test
// mode (with GO_TEST_SHORT=0) because this is just testing a
// non-critical debug setting.