From d12fe60004ae5e4024c8a93f4f7de7183bb61576 Mon Sep 17 00:00:00 2001 From: "Bryan C. Mills" Date: Wed, 1 Mar 2023 13:45:18 +0000 Subject: all: skip tests that fail on android/arm64 Many of the tests skipped platforms that build PIE binaries by default, but (still) lack a central function to report which platforms those are. Some of the tests assumed (but did not check for) internal linking support, or invoked `go tool link` directly without properly configuring the external linker. A few of the tests seem to be triggering latent bugs in the linker. For #58806. For #58807. For #58794. Change-Id: Ie4d06b1597f404590ad2abf978d4c363647407ac Reviewed-on: https://go-review.googlesource.com/c/go/+/472455 Reviewed-by: Cherry Mui Auto-Submit: Bryan Mills Run-TryBot: Bryan Mills TryBot-Result: Gopher Robot --- src/runtime/crash_cgo_test.go | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/runtime') diff --git a/src/runtime/crash_cgo_test.go b/src/runtime/crash_cgo_test.go index 51d7bb5091..65556edd2a 100644 --- a/src/runtime/crash_cgo_test.go +++ b/src/runtime/crash_cgo_test.go @@ -520,6 +520,9 @@ func TestCgoTracebackSigpanic(t *testing.T) { t.Log(got) want := "runtime.sigpanic" if !strings.Contains(got, want) { + if runtime.GOOS == "android" && (runtime.GOARCH == "arm" || runtime.GOARCH == "arm64") { + testenv.SkipFlaky(t, 58794) + } t.Errorf("did not see %q in output", want) } // No runtime errors like "runtime: unexpected return pc". -- cgit v1.3