diff options
author | Tom de Vries <tdevries@suse.de> | 2024-12-10 11:48:33 +0100 |
---|---|---|
committer | Tom de Vries <tdevries@suse.de> | 2024-12-10 11:48:33 +0100 |
commit | 8c59e9b189560237811c1ac185e1941a7ae6f367 (patch) | |
tree | 575e11865e35f2e082fdb9f7d7279e3552fd68f1 /gdb | |
parent | c2dbc2929e87557f8bc030f6f010d67b19f99f12 (diff) | |
download | gdb-8c59e9b189560237811c1ac185e1941a7ae6f367.zip gdb-8c59e9b189560237811c1ac185e1941a7ae6f367.tar.gz gdb-8c59e9b189560237811c1ac185e1941a7ae6f367.tar.bz2 |
[gdb/testsuite] Fix fails in gdb.python/py-arch-reg-groups.exp
Since commit e69d35f45e0 ("Use ui-out table in "maint print reggroups""),
test-case gdb.python/py-arch-reg-groups.exp fails with check-read1:
...
FAIL: $exp: Same number of registers groups found
FAIL: $exp: all register groups match
...
Fix this by adding a gdb_test_multiple clause that matches the command.
Tested on x86_64-linux.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/testsuite/gdb.python/py-arch-reg-groups.exp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.python/py-arch-reg-groups.exp b/gdb/testsuite/gdb.python/py-arch-reg-groups.exp index e3646f5..3475bbc 100644 --- a/gdb/testsuite/gdb.python/py-arch-reg-groups.exp +++ b/gdb/testsuite/gdb.python/py-arch-reg-groups.exp @@ -32,6 +32,9 @@ if ![runto_main] { set groups {} set test "maint print reggroups" gdb_test_multiple $test $test { + -re "^$test\r\n" { + exp_continue + } -re "Group\[ \t\]+Type\[ \t\]+\r\n" { exp_continue } |