public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
* [PATCH] Fix a test failure in gdb.threads/stepi-over-clone.exp
@ 2024-04-01 20:41 Bernd Edlinger
  2024-04-03 19:21 ` Tom Tromey
  0 siblings, 1 reply; 4+ messages in thread
From: Bernd Edlinger @ 2024-04-01 20:41 UTC (permalink / raw)
  To: gdb-patches

When the XML support was disabled at compile time,
the test case gdb.threads/stepi-over-clone.exp fails
with lots of time-outs, which can be annoying.
This makes the test case unsupported instead.
---
 gdb/testsuite/gdb.threads/stepi-over-clone.exp | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/gdb/testsuite/gdb.threads/stepi-over-clone.exp b/gdb/testsuite/gdb.threads/stepi-over-clone.exp
index 7f968171abb..f671fd7b8bd 100644
--- a/gdb/testsuite/gdb.threads/stepi-over-clone.exp
+++ b/gdb/testsuite/gdb.threads/stepi-over-clone.exp
@@ -39,6 +39,10 @@ gdb_test_multiple "catch syscall group:process" "catch process syscalls" {
 	unsupported $gdb_test_name
 	return
     }
+    -re "Can not parse XML syscalls information; XML support was disabled at compile time.*\r\n$gdb_prompt $" {
+	unsupported $gdb_test_name
+	return
+    }
     -re ".*$gdb_prompt $" {
 	pass $gdb_test_name
     }
-- 
2.39.2


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] Fix a test failure in gdb.threads/stepi-over-clone.exp
  2024-04-01 20:41 [PATCH] Fix a test failure in gdb.threads/stepi-over-clone.exp Bernd Edlinger
@ 2024-04-03 19:21 ` Tom Tromey
  2024-04-04 12:28   ` Bernd Edlinger
  0 siblings, 1 reply; 4+ messages in thread
From: Tom Tromey @ 2024-04-03 19:21 UTC (permalink / raw)
  To: Bernd Edlinger; +Cc: gdb-patches

>>>>> "Bernd" == Bernd Edlinger <bernd.edlinger@hotmail.de> writes:

Bernd> When the XML support was disabled at compile time,
Bernd> the test case gdb.threads/stepi-over-clone.exp fails
Bernd> with lots of time-outs, which can be annoying.
Bernd> This makes the test case unsupported instead.

Seems reasonable to me.
Approved-By: Tom Tromey <tom@tromey.com>

Tom

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] Fix a test failure in gdb.threads/stepi-over-clone.exp
  2024-04-03 19:21 ` Tom Tromey
@ 2024-04-04 12:28   ` Bernd Edlinger
  2024-04-04 12:28     ` Bernd Edlinger
  0 siblings, 1 reply; 4+ messages in thread
From: Bernd Edlinger @ 2024-04-04 12:28 UTC (permalink / raw)
  To: Tom Tromey; +Cc: gdb-patches

On 4/3/24 21:21, Tom Tromey wrote:
>>>>>> "Bernd" == Bernd Edlinger <bernd.edlinger@hotmail.de> writes:
> 
> Bernd> When the XML support was disabled at compile time,
> Bernd> the test case gdb.threads/stepi-over-clone.exp fails
> Bernd> with lots of time-outs, which can be annoying.
> Bernd> This makes the test case unsupported instead.
> 
> Seems reasonable to me.
> Approved-By: Tom Tromey <tom@tromey.com>
> 
> Tom
> 

Pushed.

Thanks,
Bernd.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] Fix a test failure in gdb.threads/stepi-over-clone.exp
  2024-04-04 12:28   ` Bernd Edlinger
@ 2024-04-04 12:28     ` Bernd Edlinger
  0 siblings, 0 replies; 4+ messages in thread
From: Bernd Edlinger @ 2024-04-04 12:28 UTC (permalink / raw)
  To: gdb-patches; +Cc: gdb-patches

On 4/3/24 21:21, Tom Tromey wrote:
>>>>>> "Bernd" == Bernd Edlinger <bernd.edlinger@hotmail.de> writes:
> 
> Bernd> When the XML support was disabled at compile time,
> Bernd> the test case gdb.threads/stepi-over-clone.exp fails
> Bernd> with lots of time-outs, which can be annoying.
> Bernd> This makes the test case unsupported instead.
> 
> Seems reasonable to me.
> Approved-By: Tom Tromey <tom@tromey.com>
> 
> Tom
> 

Pushed.

Thanks,
Bernd.



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-04-04 12:50 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-04-01 20:41 [PATCH] Fix a test failure in gdb.threads/stepi-over-clone.exp Bernd Edlinger
2024-04-03 19:21 ` Tom Tromey
2024-04-04 12:28   ` Bernd Edlinger
2024-04-04 12:28     ` Bernd Edlinger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).