From: Michael Pratt Date: Mon, 18 Sep 2023 20:12:36 +0000 (-0400) Subject: runtime: skip TestStackSwitchCallback on ios X-Git-Tag: go1.22rc1~798 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=d110d7c42dd8025465153e4008ba807f1e69b359;p=gostls13.git runtime: skip TestStackSwitchCallback on ios getcontext is unsupported on ios, returning ENOTSUP. Fixes #62700. Change-Id: Icc6c45fbd574886766d5289e2fbdbd62981d77eb Reviewed-on: https://go-review.googlesource.com/c/go/+/529216 Run-TryBot: Michael Pratt Reviewed-by: Bryan Mills TryBot-Result: Gopher Robot Reviewed-by: Than McIntosh Reviewed-by: Cherry Mui Auto-Submit: Michael Pratt --- diff --git a/src/runtime/crash_cgo_test.go b/src/runtime/crash_cgo_test.go index 4a5d9c3519..20e3b75d79 100644 --- a/src/runtime/crash_cgo_test.go +++ b/src/runtime/crash_cgo_test.go @@ -873,7 +873,7 @@ func TestEnsureBindM(t *testing.T) { func TestStackSwitchCallback(t *testing.T) { t.Parallel() switch runtime.GOOS { - case "windows", "plan9", "android", "openbsd": // no getcontext + case "windows", "plan9", "android", "ios", "openbsd": // no getcontext t.Skipf("skipping test on %s", runtime.GOOS) } got := runTestProg(t, "testprogcgo", "StackSwitchCallback")