From 58ffe5059fa73b1f35aa354bb4d0ca97601606fb Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Mon, 3 Dec 2018 15:12:54 -0800 Subject: [PATCH] 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 --- misc/cgo/testcshared/cshared_test.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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()