]> Cypherpunks repositories - gostls13.git/commitdiff
misc/cgo/testcshared: skip TestGo2C2Go on Android
authorIan Lance Taylor <iant@golang.org>
Mon, 3 Dec 2018 23:12:54 +0000 (15:12 -0800)
committerIan Lance Taylor <iant@golang.org>
Mon, 3 Dec 2018 23:32:59 +0000 (23:32 +0000)
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>
misc/cgo/testcshared/cshared_test.go

index 7cc02f61942e7a64699183bb961e284c470dc032..e5b90ff194ce147ef27fc72b5854c630c149cd73 100644 (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()