benchtests/bench-strtod.c: Increase timeout value
authorWill Newton <will.newton@linaro.org>
Tue, 25 Mar 2014 15:27:22 +0000 (15:27 +0000)
committerWill Newton <will.newton@linaro.org>
Wed, 26 Mar 2014 09:43:28 +0000 (09:43 +0000)
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.

ChangeLog
benchtests/bench-strtod.c

index c4ba460..c3d2ada 100644 (file)
--- 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
index fbe8040..879cf5a 100644 (file)
@@ -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"