diff options
author | Will Newton <will.newton@linaro.org> | 2014-03-25 15:27:22 +0000 |
---|---|---|
committer | Will Newton <will.newton@linaro.org> | 2014-03-26 09:43:28 +0000 |
commit | 60a2f3c166cebf56048d00cee47b9ed1969844d6 (patch) | |
tree | 5e7b059e40884a393d19424f53c4dbb7c685f44a /benchtests/bench-strtod.c | |
parent | a5e5f1e281c3472328e67c7744c300018242c5f0 (diff) | |
download | glibc-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.
Diffstat (limited to 'benchtests/bench-strtod.c')
-rw-r--r-- | benchtests/bench-strtod.c | 3 |
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" |