]> Cypherpunks.ru repositories - gostls13.git/commitdiff
misc/cgo/testcshared: skip TestGo2C2Go on Windows
authorIan Lance Taylor <iant@golang.org>
Mon, 22 Nov 2021 00:19:26 +0000 (16:19 -0800)
committerIan Lance Taylor <iant@golang.org>
Mon, 22 Nov 2021 18:57:50 +0000 (18:57 +0000)
For #27019
Fixes #49457

Change-Id: I398abb7b555196ced34a6dd04b68195bf8bbdd38
Reviewed-on: https://go-review.googlesource.com/c/go/+/365994
Trust: Ian Lance Taylor <iant@golang.org>
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Emmanuel Odeke <emmanuel@orijtech.com>
Reviewed-by: Cherry Mui <cherryyz@google.com>
Reviewed-by: Patrik Nyblom <pnyb@google.com>
misc/cgo/testcshared/cshared_test.go

index 84b92d502fdb5e6b17448e1f015833af7f10e555..13ec8761e86d957f91e06dd0417fe7acea34546b 100644 (file)
@@ -781,10 +781,10 @@ func copyFile(t *testing.T, dst, src string) {
 
 func TestGo2C2Go(t *testing.T) {
        switch GOOS {
-       case "darwin", "ios":
-               // Darwin shared libraries don't support the multiple
+       case "darwin", "ios", "windows":
+               // Non-ELF 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")
+               t.Skipf("linking c-shared into Go programs not supported on %s; issue 29061, 49457", GOOS)
        case "android":
                t.Skip("test fails on android; issue 29087")
        }