diff options
author | Ian Lance Taylor <iant@golang.org> | 2021-11-21 16:19:26 -0800 |
---|---|---|
committer | Ian Lance Taylor <iant@golang.org> | 2021-11-22 18:57:50 +0000 |
commit | 81031300a7139cfb59f704bcbb97e333590aacd0 (patch) | |
tree | 475bd0d4e0836dffee66641b284a6b56c808ebaf /misc | |
parent | 5a3d871831c9febebe513863a26ecc6da1c9c4f3 (diff) | |
download | go-81031300a7139cfb59f704bcbb97e333590aacd0.tar.gz go-81031300a7139cfb59f704bcbb97e333590aacd0.zip |
misc/cgo/testcshared: skip TestGo2C2Go on Windows
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>
Diffstat (limited to 'misc')
-rw-r--r-- | misc/cgo/testcshared/cshared_test.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/misc/cgo/testcshared/cshared_test.go b/misc/cgo/testcshared/cshared_test.go index 84b92d502fd..13ec8761e86 100644 --- a/misc/cgo/testcshared/cshared_test.go +++ b/misc/cgo/testcshared/cshared_test.go @@ -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") } |