This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] math: increase timeout for math/atest-*.c


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]