This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]