summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChung-Lin Tang <cltang@codesourcery.com>2015-02-22 01:05:02 -0800
committerChung-Lin Tang <cltang@codesourcery.com>2015-02-22 01:05:02 -0800
commit9529611240b612fec59e289673d05f83396aede4 (patch)
tree5d9439ae9e3293393e0feeaf1f682b8b387d0449
parent4a4839c94a4c93ffc0d5b95c69a08b02a57007f2 (diff)
downloadglibc-9529611240b612fec59e289673d05f83396aede4.tar.gz
Adjust timeouts for some tests, to accommodate slow processors,
often without FPUs.
-rw-r--r--ChangeLog7
-rw-r--r--libio/tst-memstream2.c1
-rw-r--r--math/atest-exp.c2
-rw-r--r--math/atest-exp2.c2
-rw-r--r--math/atest-sincos.c2
5 files changed, 11 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index 2b518f2970..18961d8031 100644
--- a/ChangeLog
+++ b/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
diff --git a/libio/tst-memstream2.c b/libio/tst-memstream2.c
index 9619d7725d..cbea4b2f97 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 e190e5ded4..be0d4015b6 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 f11b652cec..307c7410e2 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 5f0f032c77..0933169df5 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"