]> Cypherpunks repositories - gostls13.git/commitdiff
cmd/cgo/internal/test: skip TestCallbackCallersSEH when internal linking
authorqmuntal <quimmuntal@gmail.com>
Thu, 18 Jan 2024 06:53:50 +0000 (07:53 +0100)
committerQuim Muntal <quimmuntal@gmail.com>
Tue, 23 Jan 2024 06:52:00 +0000 (06:52 +0000)
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>

src/cmd/cgo/internal/test/seh_internal_windows_test.go [new file with mode: 0644]
src/cmd/cgo/internal/test/seh_windows_test.go [moved from src/cmd/cgo/internal/test/cgo_windows_test.go with 87% similarity]

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 (file)
index 0000000..708ffdc
--- /dev/null
@@ -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)
+}
similarity index 87%
rename from src/cmd/cgo/internal/test/cgo_windows_test.go
rename to src/cmd/cgo/internal/test/seh_windows_test.go
index 7bbed5b04e3f6f3bae5c2b9ff44beebe9698da7c..4a8d5bbd4dcc02136fa4a3ed55dd72aed4067f85 100644 (file)
@@ -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