math: increase timeout for math/atest-*.c
Commit Message
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(-)
@@ -191,5 +191,6 @@ do_test (void)
return failures == 0 ? 0 : 1;
}
+#define TIMEOUT 10
#define TEST_FUNCTION do_test ()
#include "../test-skeleton.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"
@@ -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"