Skip to content

Commit d568e6e

Browse files
committed
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 <[email protected]> Reviewed-by: Keith Randall <[email protected]> Trust: Benny Siegert <[email protected]> Run-TryBot: Benny Siegert <[email protected]> TryBot-Result: Go Bot <[email protected]>
1 parent c8f4e61 commit d568e6e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/runtime/debug/panic_test.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@ func TestPanicOnFault(t *testing.T) {
2424
if runtime.GOOS == "ios" {
2525
t.Skip("iOS doesn't provide fault addresses")
2626
}
27+
if runtime.GOOS == "netbsd" && runtime.GOARCH == "arm" {
28+
t.Skip("netbsd-arm doesn't provide fault address (golang.org/issue/45026)")
29+
}
2730
m, err := syscall.Mmap(-1, 0, 0x1000, syscall.PROT_READ /* Note: no PROT_WRITE */, syscall.MAP_SHARED|syscall.MAP_ANON)
2831
if err != nil {
2932
t.Fatalf("can't map anonymous memory: %s", err)

0 commit comments

Comments
 (0)