summary refs log tree commit diff
path: root/nptl
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2017-07-06 17:01:03 +0000
committerJoseph Myers <joseph@codesourcery.com>2017-07-06 17:01:03 +0000
commit3cefdd7310a5d1fad45648d9346e47df9c185fdc (patch)
tree60569b2effb5592908e1fd19789559cd13cc5882 /nptl
parent1bea5858dd5b2615288e96525f3918e35f42dd2d (diff)
downloadglibc-3cefdd7310a5d1fad45648d9346e47df9c185fdc.tar.gz
glibc-3cefdd7310a5d1fad45648d9346e47df9c185fdc.tar.xz
glibc-3cefdd7310a5d1fad45648d9346e47df9c185fdc.zip
Increase some test timeouts.
This patch increases the timeouts for some tests that I've seen timing
out on slow systems in my 2.26 release testing.  (In the case of
tst-tsearch.c, increasing the timeout means removing a setting of 10
that was put there before the default timeout was increased to 20
seconds, so putting the default into effect.)

	* iconvdata/tst-loading.c (TIMEOUT): Define to 30.
	* misc/tst-tsearch.c (TIMEOUT): Remove.
	* nptl/tst-create-detached.c (TIMEOUT): Define to 100.
	* nptl/tst-robust-fork.c (TIMEOUT): Likewise.
	* nptl/tst-rwlock19.c (TIMEOUT): Likewise.
	* string/tst-cmp.c (TIMEOUT): Define to 600.
Diffstat (limited to 'nptl')
-rw-r--r--nptl/tst-create-detached.c1
-rw-r--r--nptl/tst-robust-fork.c1
-rw-r--r--nptl/tst-rwlock19.c2
3 files changed, 3 insertions, 1 deletions
diff --git a/nptl/tst-create-detached.c b/nptl/tst-create-detached.c
index ea93e441c7..551a845496 100644
--- a/nptl/tst-create-detached.c
+++ b/nptl/tst-create-detached.c
@@ -134,4 +134,5 @@ do_test (void)
   return 0;
 }
 
+#define TIMEOUT 100
 #include <support/test-driver.c>
diff --git a/nptl/tst-robust-fork.c b/nptl/tst-robust-fork.c
index 4a12ff000d..ec0fd3c42b 100644
--- a/nptl/tst-robust-fork.c
+++ b/nptl/tst-robust-fork.c
@@ -181,4 +181,5 @@ do_test (void)
   return 0;
 }
 
+#define TIMEOUT 100
 #include <support/test-driver.c>
diff --git a/nptl/tst-rwlock19.c b/nptl/tst-rwlock19.c
index 746d84d92f..47c6f43d9f 100644
--- a/nptl/tst-rwlock19.c
+++ b/nptl/tst-rwlock19.c
@@ -122,6 +122,6 @@ do_test (void)
   return 0;
 }
 
-#define TIMEOUT 30
+#define TIMEOUT 100
 #define TEST_FUNCTION do_test ()
 #include "../test-skeleton.c"