From: Ian Lance Taylor Date: Mon, 3 Dec 2018 23:12:54 +0000 (-0800) Subject: misc/cgo/testcshared: skip TestGo2C2Go on Android X-Git-Tag: go1.12beta1~184 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=58ffe5059fa73b1f35aa354bb4d0ca97601606fb;p=gostls13.git misc/cgo/testcshared: skip TestGo2C2Go on Android Updates #29087 Change-Id: I0bab45818119176c2ba5de9c0e457b7717485d6f Reviewed-on: https://go-review.googlesource.com/c/152162 Run-TryBot: Ian Lance Taylor TryBot-Result: Gobot Gobot Reviewed-by: Brad Fitzpatrick --- diff --git a/misc/cgo/testcshared/cshared_test.go b/misc/cgo/testcshared/cshared_test.go index 7cc02f6194..e5b90ff194 100644 --- a/misc/cgo/testcshared/cshared_test.go +++ b/misc/cgo/testcshared/cshared_test.go @@ -604,10 +604,13 @@ func copyFile(t *testing.T, dst, src string) { } func TestGo2C2Go(t *testing.T) { - if GOOS == "darwin" { + switch GOOS { + case "darwin": // Darwin shared libraries don't support the multiple // copies of the runtime package implied by this test. t.Skip("linking c-shared into Go programs not supported on Darwin; issue 29061") + case "android": + t.Skip("test fails on android; issue 29087") } t.Parallel()