From 60a2f3c166cebf56048d00cee47b9ed1969844d6 Mon Sep 17 00:00:00 2001 From: Will Newton Date: Tue, 25 Mar 2014 15:27:22 +0000 Subject: [PATCH] benchtests/bench-strtod.c: Increase timeout value This benchmark can take longer than the default 2 seconds on slower platforms, so increase it to 10 seconds. ChangeLog: 2014-03-26 Will Newton * benchtests/bench-strtod.c (TIMEOUT): Define to 10. --- ChangeLog | 4 ++++ benchtests/bench-strtod.c | 3 +++ 2 files changed, 7 insertions(+) diff --git a/ChangeLog b/ChangeLog index c4ba460b39..c3d2ada600 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2014-03-26 Will Newton + + * benchtests/bench-strtod.c (TIMEOUT): Define to 10. + 2014-03-25 Roland McGrath * scripts/versionlist.awk: Partition the version sets and emit all diff --git a/benchtests/bench-strtod.c b/benchtests/bench-strtod.c index fbe8040318..879cf5a13f 100644 --- a/benchtests/bench-strtod.c +++ b/benchtests/bench-strtod.c @@ -114,4 +114,7 @@ do_bench (void) #define TEST_FUNCTION do_bench () +/* On slower platforms this test needs more than the default 2 seconds. */ +#define TIMEOUT 10 + #include "../test-skeleton.c"