From 8c59e9b189560237811c1ac185e1941a7ae6f367 Mon Sep 17 00:00:00 2001 From: Tom de Vries Date: Tue, 10 Dec 2024 11:48:33 +0100 Subject: [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. --- gdb/testsuite/gdb.python/py-arch-reg-groups.exp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'gdb') 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 } -- cgit v1.1