aboutsummaryrefslogtreecommitdiff
path: root/rt
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@suse.de>2018-10-16 17:45:02 +0200
committerAndreas Schwab <schwab@suse.de>2018-10-17 09:34:13 +0200
commitce5a7de6cd1479a1e78fda0db023bd4effa072a4 (patch)
tree546309c1ea2b6be9f7029736585d20e9811bb3f5 /rt
parentf0da0bcf8b270d08c172df42dfc3f2b9a9240973 (diff)
downloadglibc-ce5a7de6cd1479a1e78fda0db023bd4effa072a4.zip
glibc-ce5a7de6cd1479a1e78fda0db023bd4effa072a4.tar.gz
glibc-ce5a7de6cd1479a1e78fda0db023bd4effa072a4.tar.bz2
Don't reduce test timeout to less than default
This removes all overrides of TIMEOUT that are less than or equal to the default timeout.
Diffstat (limited to 'rt')
-rw-r--r--rt/tst-aio.c3
-rw-r--r--rt/tst-aio10.c1
-rw-r--r--rt/tst-aio4.c3
-rw-r--r--rt/tst-aio5.c3
-rw-r--r--rt/tst-aio6.c4
-rw-r--r--rt/tst-aio64.c3
-rw-r--r--rt/tst-aio7.c4
-rw-r--r--rt/tst-aio9.c1
-rw-r--r--rt/tst-clock.c3
-rw-r--r--rt/tst-cpuclock1.c1
-rw-r--r--rt/tst-cpuclock2.c1
-rw-r--r--rt/tst-mqueue2.c1
-rw-r--r--rt/tst-mqueue4.c1
-rw-r--r--rt/tst-mqueue5.c2
-rw-r--r--rt/tst-timer4.c1
15 files changed, 0 insertions, 32 deletions
diff --git a/rt/tst-aio.c b/rt/tst-aio.c
index f3b51d2..7d864d2 100644
--- a/rt/tst-aio.c
+++ b/rt/tst-aio.c
@@ -34,9 +34,6 @@ extern int do_test (int argc, char *argv[]);
/* We have a preparation function. */
#define PREPARE do_prepare
-/* We might need a bit longer timeout. */
-#define TIMEOUT 20 /* sec */
-
/* This defines the `main' function and some more. */
#include <test-skeleton.c>
diff --git a/rt/tst-aio10.c b/rt/tst-aio10.c
index 6e8f7b7..ebd0193 100644
--- a/rt/tst-aio10.c
+++ b/rt/tst-aio10.c
@@ -115,5 +115,4 @@ do_test (void)
}
#define TEST_FUNCTION do_test ()
-#define TIMEOUT 5
#include "../test-skeleton.c"
diff --git a/rt/tst-aio4.c b/rt/tst-aio4.c
index a86496b..8b8823b 100644
--- a/rt/tst-aio4.c
+++ b/rt/tst-aio4.c
@@ -23,9 +23,6 @@
#include <unistd.h>
#include <errno.h>
-/* We might need a bit longer timeout. */
-#define TIMEOUT 10 /* sec */
-
int my_signo;
volatile sig_atomic_t flag;
diff --git a/rt/tst-aio5.c b/rt/tst-aio5.c
index 20182a2..8b51e4d 100644
--- a/rt/tst-aio5.c
+++ b/rt/tst-aio5.c
@@ -23,9 +23,6 @@
#include <unistd.h>
#include <errno.h>
-/* We might need a bit longer timeout. */
-#define TIMEOUT 10 /* sec */
-
#define MY_SIVAL 27
volatile sig_atomic_t flag;
diff --git a/rt/tst-aio6.c b/rt/tst-aio6.c
index 886b2d8..37bc323 100644
--- a/rt/tst-aio6.c
+++ b/rt/tst-aio6.c
@@ -23,10 +23,6 @@
#include <sys/time.h>
-/* We expect to wait for 3 seconds so we have to increase the timeout. */
-#define TIMEOUT 10 /* sec */
-
-
#define TEST_FUNCTION do_test ()
static int
do_test (void)
diff --git a/rt/tst-aio64.c b/rt/tst-aio64.c
index f572fad..d58b726 100644
--- a/rt/tst-aio64.c
+++ b/rt/tst-aio64.c
@@ -35,9 +35,6 @@ extern int do_test (int argc, char *argv[]);
/* We have a preparation function. */
#define PREPARE do_prepare
-/* We might need a bit longer timeout. */
-#define TIMEOUT 20 /* sec */
-
/* This defines the `main' function and some more. */
#include <test-skeleton.c>
diff --git a/rt/tst-aio7.c b/rt/tst-aio7.c
index e0df6b0..69a3822 100644
--- a/rt/tst-aio7.c
+++ b/rt/tst-aio7.c
@@ -25,10 +25,6 @@
#include <unistd.h>
-/* We might wait for 3 seconds, so increase timeout to 10 seconds. */
-#define TIMEOUT 10
-
-
#define TEST_FUNCTION do_test ()
static int
do_test (void)
diff --git a/rt/tst-aio9.c b/rt/tst-aio9.c
index eab4f68..c13d9f7 100644
--- a/rt/tst-aio9.c
+++ b/rt/tst-aio9.c
@@ -120,5 +120,4 @@ do_test (void)
}
#define TEST_FUNCTION do_test ()
-#define TIMEOUT 5
#include "../test-skeleton.c"
diff --git a/rt/tst-clock.c b/rt/tst-clock.c
index bec76d0..61417c4 100644
--- a/rt/tst-clock.c
+++ b/rt/tst-clock.c
@@ -26,9 +26,6 @@
/* We want to see output immediately. */
#define STDOUT_UNBUFFERED
-/* We expect to run at least 10 seconds. */
-#define TIMEOUT 15
-
static int
clock_test (clockid_t cl)
{
diff --git a/rt/tst-cpuclock1.c b/rt/tst-cpuclock1.c
index f6d76e3..b2b2f27 100644
--- a/rt/tst-cpuclock1.c
+++ b/rt/tst-cpuclock1.c
@@ -316,6 +316,5 @@ do_test (void)
}
-#define TIMEOUT 5
#define TEST_FUNCTION do_test ()
#include "../test-skeleton.c"
diff --git a/rt/tst-cpuclock2.c b/rt/tst-cpuclock2.c
index f57cfb4a..119e67b 100644
--- a/rt/tst-cpuclock2.c
+++ b/rt/tst-cpuclock2.c
@@ -330,7 +330,6 @@ do_test (void)
return result;
}
-# define TIMEOUT 8
# define TEST_FUNCTION do_test ()
#endif
diff --git a/rt/tst-mqueue2.c b/rt/tst-mqueue2.c
index bc15e29..3e49a9e 100644
--- a/rt/tst-mqueue2.c
+++ b/rt/tst-mqueue2.c
@@ -35,7 +35,6 @@ alrm_handler (int sig)
{
}
-#define TIMEOUT 10
#define TEST_FUNCTION do_test ()
static int
do_test (void)
diff --git a/rt/tst-mqueue4.c b/rt/tst-mqueue4.c
index 4910755..ed41764 100644
--- a/rt/tst-mqueue4.c
+++ b/rt/tst-mqueue4.c
@@ -32,7 +32,6 @@
#include <unistd.h>
#include "tst-mqueue.h"
-#define TIMEOUT 4
#define TEST_FUNCTION do_test ()
static int
do_test (void)
diff --git a/rt/tst-mqueue5.c b/rt/tst-mqueue5.c
index e96d7c3..377998e 100644
--- a/rt/tst-mqueue5.c
+++ b/rt/tst-mqueue5.c
@@ -33,8 +33,6 @@
#include <unistd.h>
#include "tst-mqueue.h"
-#define TIMEOUT 3
-
#if _POSIX_THREADS && defined SIGRTMIN && defined SA_SIGINFO
# include <pthread.h>
diff --git a/rt/tst-timer4.c b/rt/tst-timer4.c
index 80e3051..5989a4a 100644
--- a/rt/tst-timer4.c
+++ b/rt/tst-timer4.c
@@ -178,7 +178,6 @@ check_ts (const char *name, const struct timespec *start,
return 0;
}
-#define TIMEOUT 15
#define TEST_FUNCTION do_test ()
static int
do_test (void)