From: Benny Siegert Date: Tue, 20 Jul 2021 13:36:08 +0000 (-0400) Subject: runtime/debug: skip TestPanicOnFault on netbsd/arm X-Git-Tag: go1.17rc2~1^2~22 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=d568e6e075e6434635268d3caf55963f4e564579;p=gostls13.git runtime/debug: skip TestPanicOnFault on netbsd/arm This test has been failing since the builder was updated to NetBSD 9. While the issue is under investigation, skip the test so that we do not miss other breakage. Update issue #45026 Change-Id: Id083901c517f3f88e6b4bc2b51208f65170d47a6 Reviewed-on: https://go-review.googlesource.com/c/go/+/335909 Reviewed-by: Than McIntosh Reviewed-by: Keith Randall Trust: Benny Siegert Run-TryBot: Benny Siegert TryBot-Result: Go Bot --- diff --git a/src/runtime/debug/panic_test.go b/src/runtime/debug/panic_test.go index b93631e1d8..65f9555f37 100644 --- a/src/runtime/debug/panic_test.go +++ b/src/runtime/debug/panic_test.go @@ -24,6 +24,9 @@ func TestPanicOnFault(t *testing.T) { if runtime.GOOS == "ios" { t.Skip("iOS doesn't provide fault addresses") } + if runtime.GOOS == "netbsd" && runtime.GOARCH == "arm" { + t.Skip("netbsd-arm doesn't provide fault address (golang.org/issue/45026)") + } m, err := syscall.Mmap(-1, 0, 0x1000, syscall.PROT_READ /* Note: no PROT_WRITE */, syscall.MAP_SHARED|syscall.MAP_ANON) if err != nil { t.Fatalf("can't map anonymous memory: %s", err)