This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
[PATCH] math: increase timeout for math/atest-*.c
- From: Chris Metcalf <cmetcalf at ezchip dot com>
- To: libc-alpha at sourceware dot org
- Date: Wed, 17 Dec 2014 19:47:27 -0500
- Subject: [PATCH] math: increase timeout for math/atest-*.c
- Authentication-results: sourceware.org; auth=none
This seems pretty straightforward, so barring any objection
I'll commit this in a day or so.
2014-12-17 Chris Metcalf <cmetcalf@ezchip.com>
* math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
* math/atest-exp2.c (TIMEOUT): Likewise.
* math/atest-sincos.c (TIMEOUT): Likewise.
These tests run in the 2-5 second range on tilegx, so just bump
up the timeout to 10 seconds generically.
---
math/atest-exp.c | 1 +
math/atest-exp2.c | 1 +
math/atest-sincos.c | 1 +
3 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/math/atest-exp.c b/math/atest-exp.c
index 6a551de..406b00b 100644
--- a/math/atest-exp.c
+++ b/math/atest-exp.c
@@ -191,5 +191,6 @@ do_test (void)
return failures == 0 ? 0 : 1;
}
+#define TIMEOUT 10
#define TEST_FUNCTION do_test ()
#include "../test-skeleton.c"
diff --git a/math/atest-exp2.c b/math/atest-exp2.c
index 945bb7a..4599994 100644
--- a/math/atest-exp2.c
+++ b/math/atest-exp2.c
@@ -228,5 +228,6 @@ do_test (void)
return failures == 0 ? 0 : 1;
}
+#define TIMEOUT 10
#define TEST_FUNCTION do_test ()
#include "../test-skeleton.c"
diff --git a/math/atest-sincos.c b/math/atest-sincos.c
index 1f5e730..fd0aa2b 100644
--- a/math/atest-sincos.c
+++ b/math/atest-sincos.c
@@ -278,5 +278,6 @@ do_test (void)
return (sin_failures == 0 && cos_failures == 0) ? 0 : 1;
}
+#define TIMEOUT 10
#define TEST_FUNCTION do_test ()
#include "../test-skeleton.c"
--
1.7.1