Skip to content

Commit d110d7c

Browse files
prattmicgopherbot
authored andcommitted
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 <[email protected]> Reviewed-by: Bryan Mills <[email protected]> TryBot-Result: Gopher Robot <[email protected]> Reviewed-by: Than McIntosh <[email protected]> Reviewed-by: Cherry Mui <[email protected]> Auto-Submit: Michael Pratt <[email protected]>
1 parent 30886b1 commit d110d7c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/runtime/crash_cgo_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -873,7 +873,7 @@ func TestEnsureBindM(t *testing.T) {
873873
func TestStackSwitchCallback(t *testing.T) {
874874
t.Parallel()
875875
switch runtime.GOOS {
876-
case "windows", "plan9", "android", "openbsd": // no getcontext
876+
case "windows", "plan9", "android", "ios", "openbsd": // no getcontext
877877
t.Skipf("skipping test on %s", runtime.GOOS)
878878
}
879879
got := runTestProg(t, "testprogcgo", "StackSwitchCallback")

0 commit comments

Comments
 (0)