[RFA/testsuite] Reset the timeout duration at the start of each testcase.

Daniel Jacobowitz dan@codesourcery.com
Thu Feb 4 16:00:00 GMT 2010


On Thu, Feb 04, 2010 at 08:53:53AM -0700, Tom Tromey wrote:
> >>>>> "Joel" == Joel Brobecker <brobecker@adacore.com> writes:
> 
> Joel> gdb/testsuite/ChangeLog:
> Joel>         * lib/gdb.exp (default_test_timeout): New global variable.
> Joel>         Set it to timeout if not already set.
> Joel>         (gdb_init): Reset the value of timeout to default_test_timeout.
> 
> Joel> OK to apply?
> 
> FWIW, it seems reasonable to me.

Ditto.  This will even work with existing board files that "set timeout".

-- 
Daniel Jacobowitz
CodeSourcery



More information about the Gdb-patches mailing list