From 4619121d8491ad44884529e6294b576e4ed6296a Mon Sep 17 00:00:00 2001 From: Alan Donovan Date: Mon, 12 Feb 2024 10:34:54 -0500 Subject: [PATCH] runtime: skip failing traceback test on Android See e.g. https://build.golang.org/log/1e6bd28cf75679c66479025c1a0d9082734cf33e Change-Id: Ic13bc0a40d04afe693d1de07973e2540dadacb23 Reviewed-on: https://go-review.googlesource.com/c/go/+/563415 Reviewed-by: Than McIntosh LUCI-TryBot-Result: Go LUCI --- src/runtime/traceback_system_test.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/runtime/traceback_system_test.go b/src/runtime/traceback_system_test.go index 6231586e44c..223d78a808e 100644 --- a/src/runtime/traceback_system_test.go +++ b/src/runtime/traceback_system_test.go @@ -62,6 +62,9 @@ func grandchild() { // golang.org/x/telemetry/crashmonitor. func TestTracebackSystem(t *testing.T) { testenv.MustHaveExec(t) + if runtime.GOOS == "android" { + t.Skip("Can't read source code for this file on Android") + } // Fork+exec the crashing process. exe, err := os.Executable()