about summary refs log tree commit diff
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
parenta5e5f1e281c3472328e67c7744c300018242c5f0 (diff)
downloadglibc-60a2f3c166cebf56048d00cee47b9ed1969844d6.tar.gz
glibc-60a2f3c166cebf56048d00cee47b9ed1969844d6.tar.xz
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.
-rw-r--r--ChangeLog4
-rw-r--r--benchtests/bench-strtod.c3
2 files changed, 7 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index c4ba460b39..c3d2ada600 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2014-03-26  Will Newton <will.newton@linaro.org>
+
+	* benchtests/bench-strtod.c (TIMEOUT): Define to 10.
+
 2014-03-25  Roland McGrath  <roland@hack.frob.com>
 
 	* 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"