From e9c2607ab47b63993cb5ee54c934d67baba7fc95 Mon Sep 17 00:00:00 2001 From: "Bryan C. Mills" Date: Fri, 21 Apr 2023 10:47:52 -0400 Subject: [PATCH] runtime: skip TestG0StackOverflow on ios This test fails when run on ios. (Although ios does not normally support "exec", in the corellium environment it does.) For #26061. Change-Id: Idfdc53758aaabf0cb87ae50f9a4666deebf57fd6 Reviewed-on: https://go-review.googlesource.com/c/go/+/487355 TryBot-Result: Gopher Robot Auto-Submit: Bryan Mills Reviewed-by: Ian Lance Taylor Run-TryBot: Bryan Mills --- src/runtime/crash_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/runtime/crash_test.go b/src/runtime/crash_test.go index 3a64c30e2b..cd978cc34b 100644 --- a/src/runtime/crash_test.go +++ b/src/runtime/crash_test.go @@ -782,7 +782,7 @@ func TestG0StackOverflow(t *testing.T) { testenv.MustHaveExec(t) switch runtime.GOOS { - case "darwin", "dragonfly", "freebsd", "linux", "netbsd", "openbsd", "android": + case "android", "darwin", "dragonfly", "freebsd", "ios", "linux", "netbsd", "openbsd": t.Skipf("g0 stack is wrong on pthread platforms (see golang.org/issue/26061)") } -- 2.48.1