]> Cypherpunks.ru repositories - gostls13.git/commitdiff
runtime: skip TestG0StackOverflow on ios
authorBryan C. Mills <bcmills@google.com>
Fri, 21 Apr 2023 14:47:52 +0000 (10:47 -0400)
committerGopher Robot <gobot@golang.org>
Fri, 21 Apr 2023 21:03:17 +0000 (21:03 +0000)
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 <gobot@golang.org>
Auto-Submit: Bryan Mills <bcmills@google.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Run-TryBot: Bryan Mills <bcmills@google.com>

src/runtime/crash_test.go

index 3a64c30e2b4e8b3c770e1036102c4d3d07c5b838..cd978cc34b55924ceb6ac2b400976470c5c3e141 100644 (file)
@@ -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)")
        }