mirror of https://github.com/golang/go.git
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:
parent
ad77cefeb2
commit
64fd4524f1
|
|
@ -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
|
// GODEBUG=gcstoptheworld=2 tests. We only run these in long-test
|
||||||
// mode (with GO_TEST_SHORT=0) because this is just testing a
|
// mode (with GO_TEST_SHORT=0) because this is just testing a
|
||||||
// non-critical debug setting.
|
// non-critical debug setting.
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue