From: Joseph Myers Date: Thu, 6 Jul 2017 17:01:03 +0000 (+0000) Subject: Increase some test timeouts. X-Git-Tag: glibc-2.26~138 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3cefdd7310a5d1fad45648d9346e47df9c185fdc;p=thirdparty%2Fglibc.git 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. --- diff --git a/ChangeLog b/ChangeLog index 04a2647d909..ac598984e36 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,12 @@ +2017-07-06 Joseph Myers + + * 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. + 2017-07-06 Matthew Krupcale [BZ #21715] diff --git a/iconvdata/tst-loading.c b/iconvdata/tst-loading.c index 4aac51c7a4e..4f343e67bc9 100644 --- a/iconvdata/tst-loading.c +++ b/iconvdata/tst-loading.c @@ -181,5 +181,6 @@ do_test (void) return result; } +#define TIMEOUT 30 #define TEST_FUNCTION do_test () #include "../test-skeleton.c" diff --git a/misc/tst-tsearch.c b/misc/tst-tsearch.c index 6c8fff0e3fb..5e3c473694e 100644 --- a/misc/tst-tsearch.c +++ b/misc/tst-tsearch.c @@ -351,6 +351,5 @@ do_test (void) return total_error; } -#define TIMEOUT 10 #define TEST_FUNCTION do_test () #include "../test-skeleton.c" diff --git a/nptl/tst-create-detached.c b/nptl/tst-create-detached.c index ea93e441c7e..551a8454965 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 diff --git a/nptl/tst-robust-fork.c b/nptl/tst-robust-fork.c index 4a12ff000db..ec0fd3c42b1 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 diff --git a/nptl/tst-rwlock19.c b/nptl/tst-rwlock19.c index 746d84d92fd..47c6f43d9fb 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" diff --git a/string/tst-cmp.c b/string/tst-cmp.c index d7720194e9e..7ddbd0b24e3 100644 --- a/string/tst-cmp.c +++ b/string/tst-cmp.c @@ -207,6 +207,6 @@ do_test (void) /* The nested loops need a long time to complete on slower machines. */ -#define TIMEOUT 300 +#define TIMEOUT 600 #include