Skip to content

Commit

Permalink
Add TestMultipleAssign skip
Browse files Browse the repository at this point in the history
  • Loading branch information
dagood committed Oct 5, 2023
1 parent 862660b commit 69e0806
Showing 1 changed file with 18 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,12 +1,27 @@
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Davis Goodin <dagood@microsoft.com>
Date: Thu, 5 Oct 2023 16:06:31 -0700
Subject: [PATCH] Skip failing GDB tests on Windows
Subject: [PATCH] Skip failing tests on Windows

---
src/runtime/runtime-gdb_test.go | 12 ++++++++++++
1 file changed, 12 insertions(+)
src/cmd/cgo/internal/test/test.go | 3 +++
src/runtime/runtime-gdb_test.go | 12 ++++++++++++
2 files changed, 15 insertions(+)

diff --git a/src/cmd/cgo/internal/test/test.go b/src/cmd/cgo/internal/test/test.go
index 7da5a856b307a0..1f045ca6f801a4 100644
--- a/src/cmd/cgo/internal/test/test.go
+++ b/src/cmd/cgo/internal/test/test.go
@@ -1067,6 +1067,9 @@ func testErrno(t *testing.T) {
}

func testMultipleAssign(t *testing.T) {
+ if runtime.GOOS == "windows" {
+ t.Skip("failing starting with 1.21.2: https://github.com/microsoft/go/issues/1059")
+ }
p := C.CString("234")
n, m := C.strtol(p, nil, 345), C.strtol(p, nil, 10)
if runtime.GOOS == "openbsd" {
diff --git a/src/runtime/runtime-gdb_test.go b/src/runtime/runtime-gdb_test.go
index 8c759bf4066370..5249f87154245f 100644
--- a/src/runtime/runtime-gdb_test.go
Expand Down

0 comments on commit 69e0806

Please sign in to comment.