Adjust timeouts for some tests, to accommodate slow processors,

often without FPUs.
This commit is contained in:
Chung-Lin Tang 2015-02-22 01:05:02 -08:00
parent 4a4839c94a
commit 9529611240
5 changed files with 11 additions and 3 deletions

View File

@ -1,3 +1,10 @@
2015-02-22 Chung-Lin Tang <cltang@codesourcery.com>
* 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 <joseph@codesourcery.com> 2015-02-20 Joseph Myers <joseph@codesourcery.com>
* soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in

View File

@ -100,5 +100,6 @@ do_test (void)
return 0; return 0;
} }
#define TIMEOUT 100
#define TEST_FUNCTION do_test () #define TEST_FUNCTION do_test ()
#include "../test-skeleton.c" #include "../test-skeleton.c"

View File

@ -191,6 +191,6 @@ do_test (void)
return failures == 0 ? 0 : 1; return failures == 0 ? 0 : 1;
} }
#define TIMEOUT 10 #define TIMEOUT 200
#define TEST_FUNCTION do_test () #define TEST_FUNCTION do_test ()
#include "../test-skeleton.c" #include "../test-skeleton.c"

View File

@ -228,6 +228,6 @@ do_test (void)
return failures == 0 ? 0 : 1; return failures == 0 ? 0 : 1;
} }
#define TIMEOUT 10 #define TIMEOUT 300
#define TEST_FUNCTION do_test () #define TEST_FUNCTION do_test ()
#include "../test-skeleton.c" #include "../test-skeleton.c"

View File

@ -278,6 +278,6 @@ do_test (void)
return (sin_failures == 0 && cos_failures == 0) ? 0 : 1; return (sin_failures == 0 && cos_failures == 0) ? 0 : 1;
} }
#define TIMEOUT 10 #define TIMEOUT 600
#define TEST_FUNCTION do_test () #define TEST_FUNCTION do_test ()
#include "../test-skeleton.c" #include "../test-skeleton.c"