public inbox for gdb-cvs@sourceware.org
help / color / mirror / Atom feed
* [binutils-gdb] [gdb/testsuite] Add missing skip_gdbserver_tests in gdb.multi/attach-no-multi-process.exp
@ 2022-10-25 12:09 Tom de Vries
  0 siblings, 0 replies; only message in thread
From: Tom de Vries @ 2022-10-25 12:09 UTC (permalink / raw)
  To: gdb-cvs

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=4ff322b6fa699e352730f58a0a1e90c09274b0f6

commit 4ff322b6fa699e352730f58a0a1e90c09274b0f6
Author: Tom de Vries <tdevries@suse.de>
Date:   Tue Oct 25 14:09:32 2022 +0200

    [gdb/testsuite] Add missing skip_gdbserver_tests in gdb.multi/attach-no-multi-process.exp
    
    I build gdb without gdbserver, and ran into:
    ...
    (gdb) PASS: gdb.multi/attach-no-multi-process.exp: target_non_stop=off: \
      switch to inferior 2
    spawn of  --once --multi localhost:2346 failed
    ERROR: tcl error sourcing attach-no-multi-process.exp.
    ERROR: tcl error code NONE
    ERROR: Timeout waiting for gdbserver response.
    ...
    
    Add the missing skip_gdbserver_tests.
    
    Tested on x86_64-linux.

Diff:
---
 gdb/testsuite/gdb.multi/attach-no-multi-process.exp | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/gdb/testsuite/gdb.multi/attach-no-multi-process.exp b/gdb/testsuite/gdb.multi/attach-no-multi-process.exp
index 66b210f882c..4d6cd32f17e 100644
--- a/gdb/testsuite/gdb.multi/attach-no-multi-process.exp
+++ b/gdb/testsuite/gdb.multi/attach-no-multi-process.exp
@@ -22,6 +22,10 @@ load_lib gdbserver-support.exp
 
 standard_testfile
 
+if { [skip_gdbserver_tests] } {
+    return 0
+}
+
 if {![can_spawn_for_attach]} {
     return
 }

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-10-25 12:09 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-25 12:09 [binutils-gdb] [gdb/testsuite] Add missing skip_gdbserver_tests in gdb.multi/attach-no-multi-process.exp 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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).