aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWill Newton <will.newton@linaro.org>2014-03-25 15:27:22 +0000
committerWill Newton <will.newton@linaro.org>2014-03-26 09:43:28 +0000
commit60a2f3c166cebf56048d00cee47b9ed1969844d6 (patch)
tree5e7b059e40884a393d19424f53c4dbb7c685f44a /benchtests
parentKludge fix for Versions.def regression (diff)
downloadglibc-60a2f3c166cebf56048d00cee47b9ed1969844d6.tar.gz
glibc-60a2f3c166cebf56048d00cee47b9ed1969844d6.tar.bz2
glibc-60a2f3c166cebf56048d00cee47b9ed1969844d6.zip
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 <will.newton@linaro.org> * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
Diffstat (limited to 'benchtests')
-rw-r--r--benchtests/bench-strtod.c3
1 files changed, 3 insertions, 0 deletions
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"