public inbox for gdb-cvs@sourceware.org
help / color / mirror / Atom feed
* [binutils-gdb] gdb, testsuite: extend gdb_test_multiple checks
@ 2022-10-18 13:24 Markus Metzger
  0 siblings, 0 replies; only message in thread
From: Markus Metzger @ 2022-10-18 13:24 UTC (permalink / raw)
  To: gdb-cvs

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

commit 44288716537103644dfdd0c72f03be737cafb768
Author: Markus Metzger <markus.t.metzger@intel.com>
Date:   Fri Feb 18 12:16:33 2022 +0100

    gdb, testsuite: extend gdb_test_multiple checks
    
    Check for
    
        warning: Corrupted shared library list
    
    and for
    
        Invalid cast.
        warning: Probes-based dynamic linker interface failed.
        Reverting to original interface.
    
    in gdb_test_multiple.

Diff:
---
 gdb/testsuite/lib/gdb.exp | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/gdb/testsuite/lib/gdb.exp b/gdb/testsuite/lib/gdb.exp
index bfa9fec628e..36bcfacfdd0 100644
--- a/gdb/testsuite/lib/gdb.exp
+++ b/gdb/testsuite/lib/gdb.exp
@@ -1188,6 +1188,14 @@ proc gdb_test_multiple { command message args } {
 	    }
 	    set result -1
 	}
+	-re "Corrupted shared library list.*$prompt_regexp" {
+	    fail "$message (shared library list corrupted)"
+	    set result -1
+	}
+	-re "Invalid cast\.\r\nwarning: Probes-based dynamic linker interface failed.*$prompt_regexp" {
+	    fail "$message (probes interface failure)"
+	    set result -1
+	}
     }
     append code $processed_code

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

only message in thread, other threads:[~2022-10-18 13:24 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-18 13:24 [binutils-gdb] gdb, testsuite: extend gdb_test_multiple checks Markus Metzger

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).