Message ID | 54B018C3.9030901@codesourcery.com |
---|---|
State | New |
Headers | show |
On Sat, 10 Jan 2015, Chung-Lin Tang wrote: > Some tests run a really long time on lower clocked soft-cores like Nios > II. I didn't noticed this in last round of review, until many testcases > were adjusted to use test-skeleton.c recently. This is not part of the port and is best submitted separately with a subject that doesn't suggest it's part of a port.
diff --git a/libio/tst-memstream2.c b/libio/tst-memstream2.c index 9619d77..cbea4b2 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 e190e5d..be0d401 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 f11b652..307c741 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 5f0f032..0933169 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"