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

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

Change-Id: I250dedfcf72cdf50389bd121d1cbc0cf783d3b6a
This commit is contained in:
qiulaidongfeng 2024-07-06 20:09:49 +08:00
parent ad77cefeb2
commit 64fd4524f1
1 changed files with 0 additions and 13 deletions

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.