aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorqmuntal <quimmuntal@gmail.com>2024-01-18 07:53:50 +0100
committerCherry Mui <cherryyz@google.com>2024-01-23 17:49:49 +0000
commit10e9ab55c802560ac1f3348c56358583764ec00a (patch)
treeabb7be5e87ddde9809cb8e8a3a08dfb6ff072fb7
parentba8e9e14f45155d68c4e0c86157e956baf8845df (diff)
downloadgo-10e9ab55c802560ac1f3348c56358583764ec00a.tar.gz
go-10e9ab55c802560ac1f3348c56358583764ec00a.zip
[release-branch.go1.22] cmd/cgo/internal/test: skip TestCallbackCallersSEH when internal linking
TestCallbackCallersSEH is flaky when using the internal linker. Skip it for now until the flakiness is resolved. Updates #65116 Change-Id: I7628b07eaff8be00757d5604722f30aede25fce5 Reviewed-on: https://go-review.googlesource.com/c/go/+/556635 Reviewed-by: Cherry Mui <cherryyz@google.com> Reviewed-by: Carlos Amedee <carlos@golang.org> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> (cherry picked from commit adead1a93f472affa97c494ef19f2f492ee6f34a) Reviewed-on: https://go-review.googlesource.com/c/go/+/557815
-rw-r--r--src/cmd/cgo/internal/test/seh_internal_windows_test.go16
-rw-r--r--src/cmd/cgo/internal/test/seh_windows_test.go (renamed from src/cmd/cgo/internal/test/cgo_windows_test.go)2
2 files changed, 17 insertions, 1 deletions
diff --git a/src/cmd/cgo/internal/test/seh_internal_windows_test.go b/src/cmd/cgo/internal/test/seh_internal_windows_test.go
new file mode 100644
index 0000000000..708ffdc6f6
--- /dev/null
+++ b/src/cmd/cgo/internal/test/seh_internal_windows_test.go
@@ -0,0 +1,16 @@
+// Copyright 2024 The Go Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
+//go:build cgo && windows && internal
+
+package cgotest
+
+import (
+ "internal/testenv"
+ "testing"
+)
+
+func TestCallbackCallersSEH(t *testing.T) {
+ testenv.SkipFlaky(t, 65116)
+}
diff --git a/src/cmd/cgo/internal/test/cgo_windows_test.go b/src/cmd/cgo/internal/test/seh_windows_test.go
index 7bbed5b04e..4a8d5bbd4d 100644
--- a/src/cmd/cgo/internal/test/cgo_windows_test.go
+++ b/src/cmd/cgo/internal/test/seh_windows_test.go
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
-//go:build cgo && windows
+//go:build cgo && windows && !internal
package cgotest