Re: [PATCH][gdb/testsuite] Reimplement complaints selftest as unittest

Tom Tromey
2021-09-08T19:02:42Z

>>>>> "Tom" == Tom de Vries via Gdb-patches <gdb-patches@sourceware.org> writes:

Tom> On 9/2/21 3:42 PM, Tom de Vries wrote:
>> Something specific to the new unittest is that we check the output as well.
>> To this end, we add SELFTEST_OUTPUT and SELFTEST_EXPECTED_OUTPUT markers:

Tom> I tried it in another way: capturing the output, which means there's no
Tom> need for the testsuite to verify the output.

I was planning to suggest something like this :)

Tom> Passes build & gdb.gdb/unittest.exp, currently doing full regression
Tom> test run.

Tom> Any comments?

I like this approach. Thank you for doing this.

Tom