]> Cypherpunks repositories - gostls13.git/commitdiff
runtime: skip failing traceback test on Android
authorAlan Donovan <adonovan@google.com>
Mon, 12 Feb 2024 15:34:54 +0000 (10:34 -0500)
committerAlan Donovan <adonovan@google.com>
Mon, 12 Feb 2024 18:37:32 +0000 (18:37 +0000)
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 <thanm@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>

src/runtime/traceback_system_test.go

index 6231586e44c820a7a7a2d5817feba83895d9b733..223d78a808e0565ad1e0f87b3b8ca549a0d73a9f 100644 (file)
@@ -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()