Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Adjust timeouts for some tests, to accommodate slow processors,
often without FPUs.
  • Loading branch information
Chung-Lin Tang committed Feb 22, 2015
1 parent 4a4839c commit 9529611
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 3 deletions.
7 changes: 7 additions & 0 deletions ChangeLog
@@ -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>

* soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
Expand Down
1 change: 1 addition & 0 deletions libio/tst-memstream2.c
Expand Up @@ -100,5 +100,6 @@ do_test (void)
return 0;
}

#define TIMEOUT 100
#define TEST_FUNCTION do_test ()
#include "../test-skeleton.c"
2 changes: 1 addition & 1 deletion math/atest-exp.c
Expand Up @@ -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"
2 changes: 1 addition & 1 deletion math/atest-exp2.c
Expand Up @@ -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"
2 changes: 1 addition & 1 deletion math/atest-sincos.c
Expand Up @@ -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"

0 comments on commit 9529611

Please sign in to comment.