[RFA] Introduce test setup helpers.

Daniel Jacobowitz drow@false.org
Mon Apr 7 13:59:00 GMT 2008


On Wed, Apr 02, 2008 at 08:25:30PM +0400, Vladimir Prus wrote:
> 
> Presently, most tests in GDB testsuite have quite a bunch of boilerplate
> code to compile the test case and load it into GDB. This patch introduces
> some helper functions, and as a proof of concept converts some tests to use
> those. 
> 
> OK?

OK.
> +    global tracelevel
> +    if $tracelevel then {
> +        strace $tracelevel
> +    }

This part isn't necessary nowadays; I'm not really sure when it was.

-- 
Daniel Jacobowitz
CodeSourcery



More information about the Gdb-patches mailing list