This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] PR testsuite/28870: add dg-timeout
- From: "Uros Bizjak" <ubizjak at gmail dot com>
- To: janis187 at us dot ibm dot com
- Cc: "gcc patches" <gcc-patches at gcc dot gnu dot org>
- Date: Wed, 5 Mar 2008 14:04:17 +0100
- Subject: Re: [PATCH] PR testsuite/28870: add dg-timeout
- References: <47C1A357.1060503@gmail.com> <1204680940.8289.9.camel@janis-laptop>
On Wed, Mar 5, 2008 at 2:35 AM, Janis Johnson <janis187@us.ibm.com> wrote:
> This patch uses a timeout value specified in new directive dg-timeout,
> or a variable defined in ${HOME}/.dejagnurc for the relevant testsuite
> (gcc_timeout for compiler tests, v3_timeout for libstdc++ tests), or
> falls back to the timeout for the target board.
I like the idea of having default timeout specified in .dejagnurc.
Perhaps with this functionality in place, we could implement {
dg-timeout-factor N { target } } directive. The default timeout could
be overriden by the setting in .dejagnurc, and individual tests could
extend the timeout, as specified by their optional dg-timeout-factor
directive.
Uros.