]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
gdb/testsuite: adjust yet another add-inferior test for native-extended-gdbserver...
authorSimon Marchi <simon.marchi@efficios.com>
Fri, 7 Nov 2025 20:59:03 +0000 (15:59 -0500)
committerSimon Marchi <simon.marchi@efficios.com>
Fri, 7 Nov 2025 20:59:03 +0000 (15:59 -0500)
I'm seeing this FAIL with the native-extended-gdbserver board:

    (gdb) add-inferior^M
    [New inferior 2]^M
    Added inferior 2 on connection 1 (extended-remote localhost:2365)^M
    (gdb) FAIL: gdb.python/py-parameter.exp: test_per_inferior_parameters: add-inferior

This is another case of add-inferior producing more output when
connected to a remote target.  Adjust the regexp to accomodate it.

Change-Id: Ic5760ff66712c54b90b9debf379dcbf6e07f6eeb

gdb/testsuite/gdb.python/py-parameter.exp

index a80fa19e5842385cc8a8202f28cb85bf17592283..7c2f5c680fa5937e939f9cc988bd0d1276bcdeaa 100644 (file)
@@ -724,7 +724,7 @@ proc_with_prefix test_per_inferior_parameters { } {
     clean_restart
 
     # Add a second inferior.
-    gdb_test "add-inferior" "Added inferior 2"
+    gdb_test "add-inferior" "Added inferior 2.*"
 
     # Set some parameters on each inferior.
     foreach_with_prefix inf {1 2} {