Skip to content

Commit 58ffe50

Browse files
misc/cgo/testcshared: skip TestGo2C2Go on Android
Updates golang#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>
1 parent 13e40c7 commit 58ffe50

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

misc/cgo/testcshared/cshared_test.go

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -604,10 +604,13 @@ func copyFile(t *testing.T, dst, src string) {
604604
}
605605

606606
func TestGo2C2Go(t *testing.T) {
607-
if GOOS == "darwin" {
607+
switch GOOS {
608+
case "darwin":
608609
// Darwin shared libraries don't support the multiple
609610
// copies of the runtime package implied by this test.
610611
t.Skip("linking c-shared into Go programs not supported on Darwin; issue 29061")
612+
case "android":
613+
t.Skip("test fails on android; issue 29087")
611614
}
612615

613616
t.Parallel()

0 commit comments

Comments
 (0)