* [pushed] [gdb/testsuite] Skip gdb.{base, tui}/tailcall-msym.exp on cygwin
@ 2026-09-19 18:09 Tom de Vries
0 siblings, 0 replies; only message in thread
From: Tom de Vries @ 2026-09-19 18:09 UTC (permalink / raw)
To: gdb-patches
I ran test-case gdb.tui/tailcall-msym.exp on cygwin.
The test-case adds some stuff to the .s file, which doesn't compile on cygwin.
Fix this by skipping the test-case on cygwin.
Likewise for gdb.base/tailcall-msym.exp.
---
gdb/testsuite/gdb.base/tailcall-msym.exp | 3 +++
gdb/testsuite/gdb.tui/tailcall-msym.exp | 3 +++
2 files changed, 6 insertions(+)
diff --git a/gdb/testsuite/gdb.base/tailcall-msym.exp b/gdb/testsuite/gdb.base/tailcall-msym.exp
index 9ffaa7f17c1..1f27c7f2816 100644
--- a/gdb/testsuite/gdb.base/tailcall-msym.exp
+++ b/gdb/testsuite/gdb.base/tailcall-msym.exp
@@ -23,6 +23,9 @@
# and to create a fake function symbol that sits immediately after the
# tail call function.
+# The dummy function doesn't compile on cygwin.
+require {!istarget *-*-cygwin*}
+
standard_testfile
# Compile with debug info first so we can find the instruction boundaries.
diff --git a/gdb/testsuite/gdb.tui/tailcall-msym.exp b/gdb/testsuite/gdb.tui/tailcall-msym.exp
index 1e13414f760..1497b93f0f3 100644
--- a/gdb/testsuite/gdb.tui/tailcall-msym.exp
+++ b/gdb/testsuite/gdb.tui/tailcall-msym.exp
@@ -22,6 +22,9 @@
# Still, I wanted the test to live in gdb.tui/ as this really is testing
# TUI specific code.
+# The dummy function doesn't compile on cygwin.
+require {!istarget *-*-cygwin*}
+
tuiterm_env
standard_testfile
base-commit: 12b6047b2d48888f284795c5d9807a2c7e3c0c67
--
2.51.0
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2026-09-19 18:10 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-19 18:09 [pushed] [gdb/testsuite] Skip gdb.{base, tui}/tailcall-msym.exp on cygwin Tom de Vries
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox