This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA/testsuite] Reset the timeout duration at the start of each testcase.
- From: Daniel Jacobowitz <dan at codesourcery dot com>
- To: Tom Tromey <tromey at redhat dot com>
- Cc: Joel Brobecker <brobecker at adacore dot com>, gdb-patches at sourceware dot org
- Date: Thu, 4 Feb 2010 10:59:59 -0500
- Subject: Re: [RFA/testsuite] Reset the timeout duration at the start of each testcase.
- References: <20100129153726.GC30542@caradoc.them.org> <1265263706-22569-1-git-send-email-brobecker@adacore.com> <m3ljf9m1ym.fsf@fleche.redhat.com>
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