aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/debug
diff options
context:
space:
mode:
authorCherry Zhang <cherryyz@google.com>2020-09-17 15:02:26 -0400
committerCherry Zhang <cherryyz@google.com>2020-10-06 21:56:24 +0000
commitdb428ad7b61ed757671162054252b4326045e96c (patch)
tree4d08bbf58f17dd8e563e388d364b9b3714112d83 /src/runtime/debug
parent2e4ceaf963fc2a0ce95a198769012e62ec4e28ae (diff)
downloadgo-db428ad7b61ed757671162054252b4326045e96c.tar.gz
go-db428ad7b61ed757671162054252b4326045e96c.zip
all: enable more tests on macOS/ARM64
Updates #38485. Change-Id: Iac96f5ffe88521fcb11eab306d0df6463bdce046 Reviewed-on: https://go-review.googlesource.com/c/go/+/256920 Trust: Cherry Zhang <cherryyz@google.com> Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org> Reviewed-by: Ian Lance Taylor <iant@golang.org>
Diffstat (limited to 'src/runtime/debug')
-rw-r--r--src/runtime/debug/panic_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/runtime/debug/panic_test.go b/src/runtime/debug/panic_test.go
index 93be216985..b67a3de4f9 100644
--- a/src/runtime/debug/panic_test.go
+++ b/src/runtime/debug/panic_test.go
@@ -20,8 +20,8 @@ func TestPanicOnFault(t *testing.T) {
if runtime.GOARCH == "s390x" {
t.Skip("s390x fault addresses are missing the low order bits")
}
- if (runtime.GOOS == "darwin" || runtime.GOOS == "ios") && runtime.GOARCH == "arm64" {
- t.Skip("darwin/arm64 doesn't provide fault addresses")
+ if runtime.GOOS == "ios" {
+ t.Skip("iOS doesn't provide fault addresses")
}
m, err := syscall.Mmap(-1, 0, 0x1000, syscall.PROT_READ /* Note: no PROT_WRITE */, syscall.MAP_SHARED|syscall.MAP_ANON)
if err != nil {