1
0
mirror of https://github.com/golang/go synced 2024-11-11 19:01:37 -07:00

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 <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
This commit is contained in:
Ian Lance Taylor 2018-12-03 15:12:54 -08:00
parent 13e40c76df
commit 58ffe5059f

View File

@ -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()