[PATCH][gdb/testsuite] Make tui testing less verbose

Tom de Vries tdevries@suse.de
Tue Oct 5 23:32:09 GMT 2021


On 10/5/21 8:12 PM, Tom Tromey wrote:
>>>>>> "Tom" == Tom de Vries via Gdb-patches <gdb-patches@sourceware.org> writes:
> 
> Tom> Brings down verbosity to something more reasonable:
> Tom> ...
> Tom> $ wc -l gdb.log
> Tom> 3221 gdb.log
> Tom> ...
> 
> Tom> Tested on x86_64-linux.
> 
> Tom> Any comments?
> 
> It seems fine to me.  I don't know what others do, but when I'm
> debugging TUI test cases I normally end up hacking in a bunch of
> dump_screen calls or whatever, as needed, then remove them at the end.

I do the same, and my ambition here was to make adding those calls
superfluous.

> So I'd probably be fine with even less logging.

Ack, but perhaps for maintainers less experienced with TUI test-cases
it'll be easier to parse the initial log and analyze problems (without
requiring them to know where to add those calls).

Thanks,
- Tom


More information about the Gdb-patches mailing list