mirror of
https://github.com/golang/go
synced 2024-11-02 09:28:34 +00:00
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 <mpratt@google.com> Reviewed-by: Bryan Mills <bcmills@google.com> TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Than McIntosh <thanm@google.com> Reviewed-by: Cherry Mui <cherryyz@google.com> Auto-Submit: Michael Pratt <mpratt@google.com>
This commit is contained in:
parent
30886b1b1e
commit
d110d7c42d
1 changed files with 1 additions and 1 deletions
|
@ -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")
|
||||
|
|
Loading…
Reference in a new issue