On Tue, Jul 29, 2008 at 9:01 PM, Alexandre Oliva <[EMAIL PROTECTED]> wrote:
> On Jul 29, 2008, "Richard Guenther" <[EMAIL PROTECTED]> wrote:
>
>> why not pair the testcase with a gdb script directly?
>
> Mostly a matter of convenience.  Writing code and adding "test this
> here, etc", and not having to adjust a testcase all over just because
> you have to add an #include feels so much better than the alternative.
> And then, having it all in a single file that uses shared
> infrastructure feels better than having to write one script per test,
> but maybe that's just me.

Ok, but maybe there's a trick to embed the gdb script in the source
like you can embed a Makefile in the source ...

Richard.

Reply via email to