From 9529611240b612fec59e289673d05f83396aede4 Mon Sep 17 00:00:00 2001 From: Chung-Lin Tang Date: Sun, 22 Feb 2015 01:05:02 -0800 Subject: [PATCH] Adjust timeouts for some tests, to accommodate slow processors, often without FPUs. --- ChangeLog | 7 +++++++ libio/tst-memstream2.c | 1 + math/atest-exp.c | 2 +- math/atest-exp2.c | 2 +- math/atest-sincos.c | 2 +- 5 files changed, 11 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 2b518f2970..18961d8031 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2015-02-22 Chung-Lin Tang + + * libio/tst-memstream2.c (TIMEOUT): Define as 100. + * math/atest-exp.c (TIMEOUT): Adjust to 200. + * math/atest-exp2.c (TIMEOUT): Adjust to 300. + * math/atest-sincos.c (TIMEOUT): Adjust to 600. + 2015-02-20 Joseph Myers * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in diff --git a/libio/tst-memstream2.c b/libio/tst-memstream2.c index 9619d7725d..cbea4b2f97 100644 --- a/libio/tst-memstream2.c +++ b/libio/tst-memstream2.c @@ -100,5 +100,6 @@ do_test (void) return 0; } +#define TIMEOUT 100 #define TEST_FUNCTION do_test () #include "../test-skeleton.c" diff --git a/math/atest-exp.c b/math/atest-exp.c index e190e5ded4..be0d4015b6 100644 --- a/math/atest-exp.c +++ b/math/atest-exp.c @@ -191,6 +191,6 @@ do_test (void) return failures == 0 ? 0 : 1; } -#define TIMEOUT 10 +#define TIMEOUT 200 #define TEST_FUNCTION do_test () #include "../test-skeleton.c" diff --git a/math/atest-exp2.c b/math/atest-exp2.c index f11b652cec..307c7410e2 100644 --- a/math/atest-exp2.c +++ b/math/atest-exp2.c @@ -228,6 +228,6 @@ do_test (void) return failures == 0 ? 0 : 1; } -#define TIMEOUT 10 +#define TIMEOUT 300 #define TEST_FUNCTION do_test () #include "../test-skeleton.c" diff --git a/math/atest-sincos.c b/math/atest-sincos.c index 5f0f032c77..0933169df5 100644 --- a/math/atest-sincos.c +++ b/math/atest-sincos.c @@ -278,6 +278,6 @@ do_test (void) return (sin_failures == 0 && cos_failures == 0) ? 0 : 1; } -#define TIMEOUT 10 +#define TIMEOUT 600 #define TEST_FUNCTION do_test () #include "../test-skeleton.c"