aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/mgcscavenge_test.go
diff options
context:
space:
mode:
authorDavid Chase <drchase@google.com>2022-01-14 12:06:38 -0500
committerDavid Chase <drchase@google.com>2022-01-14 12:06:38 -0500
commitbb93480d009322886df6f5185c988d6d21fdc2c8 (patch)
treee0aedd272a69d97f56c27da8c3bdb98d0515d8b6 /src/runtime/mgcscavenge_test.go
parentadecd3ffbec722f69dfb5993d25f63aed5305a71 (diff)
parent378766af9ed0f2e28d67c2b50e73db7573656669 (diff)
downloadgo-bb93480d009322886df6f5185c988d6d21fdc2c8.tar.gz
go-bb93480d009322886df6f5185c988d6d21fdc2c8.zip
[dev.boringcrypto.go1.16] all: merge go1.16.13 into dev.boringcrypto.go1.16
Change-Id: I1233ad2811a546b008c75242ddd560fd2d121327
Diffstat (limited to 'src/runtime/mgcscavenge_test.go')
-rw-r--r--src/runtime/mgcscavenge_test.go5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/runtime/mgcscavenge_test.go b/src/runtime/mgcscavenge_test.go
index 250343077f..6ba9b3133b 100644
--- a/src/runtime/mgcscavenge_test.go
+++ b/src/runtime/mgcscavenge_test.go
@@ -8,6 +8,7 @@ import (
"fmt"
"math/rand"
. "runtime"
+ "runtime/internal/sys"
"testing"
)
@@ -414,7 +415,9 @@ func TestPageAllocScavenge(t *testing.T) {
},
},
}
- if PageAlloc64Bit != 0 {
+ // Disable these tests on iOS since we have a small address space.
+ // See #46860.
+ if PageAlloc64Bit != 0 && sys.GoosIos == 0 {
tests["ScavAllVeryDiscontiguous"] = setup{
beforeAlloc: map[ChunkIdx][]BitRange{
BaseChunkIdx: {},