This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC 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: [PATCH] PR testsuite/28870: add dg-timeout


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.


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