This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] Bump up stdio bug22 timeout from 30 seconds to 60 seconds
- From: "Ryan S. Arnold" <ryan dot arnold at gmail dot com>
- To: Chris Metcalf <cmetcalf at tilera dot com>
- Cc: libc-alpha at sourceware dot org
- Date: Thu, 17 May 2012 12:23:02 -0500
- Subject: Re: [PATCH] Bump up stdio bug22 timeout from 30 seconds to 60 seconds
- References: <201205171700.q4HH0K9X015639@farm-0002.internal.tilera.com>
On Thu, May 17, 2012 at 10:41 AM, Chris Metcalf <cmetcalf@tilera.com> wrote:
> The older Tilera platform (tilepro) needs just a hair over 30 seconds
> to run this on one core.
> ---
> I'll push this one as pretty self-evident. ÂThanks.
>
> ÂChangeLog      Â|  Â2 ++
> Âstdio-common/bug22.c | Â Â2 +-
> Â2 files changed, 3 insertions(+), 1 deletions(-)
>
> diff --git a/ChangeLog b/ChangeLog
> index 8970d74..470fb35 100644
> --- a/ChangeLog
> +++ b/ChangeLog
> @@ -0,0 +1,4 @@
> +2012-05-17 ÂChris Metcalf Â<cmetcalf@tilera.com>
> +
> + Â Â Â * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
> +
> diff --git a/stdio-common/bug22.c b/stdio-common/bug22.c
> index efd9501..b26399a 100644
> --- a/stdio-common/bug22.c
> +++ b/stdio-common/bug22.c
> @@ -51,6 +51,6 @@ do_test (void)
> Â return ret != -1 || errno != EOVERFLOW;
> Â}
>
> -#define TIMEOUT 30
> +#define TIMEOUT 60
> Â#define TEST_FUNCTION do_test ()
> Â#include "../test-skeleton.c"
> --
> 1.6.5.2
>
You can change this in a a tile specific Makefile doing something like
the following:
ifeq ($(subdir),stdio-common)
# Scale the regular 30 second TIMEOUT by 2x on Tile
bug22-ENV = TIMEOUTFACTOR="2"
fi
Ryan S. Arnold