From: Tom de Vries via Gdb-patches <gdb-patches@sourceware.org>
To: Tom Tromey <tom@tromey.com>,
Tom de Vries via Gdb-patches <gdb-patches@sourceware.org>
Subject: Re: [PATCH][gdb/testsuite] Reimplement gdb.gdb/python-interrupts.exp as unittest
Date: Wed, 20 Oct 2021 00:00:45 +0200 [thread overview]
Message-ID: <8926b62a-0df2-9d09-0b82-14d495e65da9@suse.de> (raw)
In-Reply-To: <87v91sx4ur.fsf@tromey.com>
On 10/19/21 8:10 PM, Tom Tromey wrote:
>>>>>> "Tom" == Tom de Vries via Gdb-patches <gdb-patches@sourceware.org> writes:
>
>>> +#if GDB_SELF_TEST
>>> + if (selftests::hook_set_active_ext_lang)
>>> + selftests::hook_set_active_ext_lang ();
>>> +#endif
>
> Tom> In particular, I'd like feedback on whether this is acceptable.
>
> Tom> F.i., I could do instead the less intrusive (but also less flexible):
>
> Either way is fine by me. It's clearly code just for testing purposes,
> so, for me at least, I don't mind if it's too flexible or whatever.
>
Ack, I've left it as is.
> Tom> Perhaps this could be handled using a
> Tom> DEVEL_GDB_SELF_TEST, which is disabled in release branches independent
> Tom> of --enable-unit-tests?
>
> I don't really understand what you meant by this.
> Do you mean having some way to disable some subset of the self-tests?
I mean having a class of unit tests that is not enabled in release
branches, even with --enable-unit-tests, because they're considered too
risky.
> If so, I think it's fine to just have them all around.
>
Ack, thanks for confirming.
- Tom
next prev parent reply other threads:[~2021-10-19 22:01 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-09-11 12:02 Tom de Vries via Gdb-patches
2021-09-22 10:17 ` Tom de Vries via Gdb-patches
2021-10-07 14:36 ` [PING][PATCH][gdb/testsuite] " Tom de Vries via Gdb-patches
2021-10-19 18:10 ` [PATCH][gdb/testsuite] " Tom Tromey
2021-10-19 22:00 ` Tom de Vries via Gdb-patches [this message]
2021-10-19 18:09 ` Tom Tromey
2021-10-19 21:56 ` Tom de Vries via Gdb-patches
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=8926b62a-0df2-9d09-0b82-14d495e65da9@suse.de \
--to=gdb-patches@sourceware.org \
--cc=tdevries@suse.de \
--cc=tom@tromey.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox