From: Daiki Ueno Date: Thu, 2 Jul 2015 07:48:24 +0000 (+0900) Subject: u{16,32}-strstr-tests: relax timeout condition X-Git-Tag: v1.0~7018 X-Git-Url: https://gitweb.git.savannah.gnu.org/gitweb/?a=commitdiff_plain;h=ea309033903c2ca235eb47a61905dc2cec7d39bb;p=gnulib.git u{16,32}-strstr-tests: relax timeout condition On slower platforms (e.g., Solaris 10/SPARC), u{16,32}-strstr tests can take longer than 5 seconds to complete. Reported by Dagobert Michelsen in: https://lists.gnu.org/archive/html/bug-libunistring/2015-06/msg00006.html * tests/unistr/test-u16-strstr.c (main): Increase timeout from 5 seconds to 10 seconds. * tests/unistr/test-u32-strstr.c (main): Likewise. --- diff --git a/ChangeLog b/ChangeLog index 5cab00b876..e6992f4465 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,14 @@ +2015-07-02 Daiki Ueno + + u{16,32}-strstr-tests: relax timeout condition + On slower platforms (e.g., Solaris 10/SPARC), u{16,32}-strstr + tests can take longer than 5 seconds to complete. + Reported by Dagobert Michelsen in: + https://lists.gnu.org/archive/html/bug-libunistring/2015-06/msg00006.html + * tests/unistr/test-u16-strstr.c (main): Increase timeout from 5 + seconds to 10 seconds. + * tests/unistr/test-u32-strstr.c (main): Likewise. + 2015-07-01 Pavel Raiskup gnulib-common.m4: change the ARFLAGS default to 'cr' diff --git a/tests/unistr/test-u16-strstr.c b/tests/unistr/test-u16-strstr.c index eb1f867aa0..8f0f4f159f 100644 --- a/tests/unistr/test-u16-strstr.c +++ b/tests/unistr/test-u16-strstr.c @@ -38,7 +38,7 @@ main (void) /* Declare failure if test takes too long, by using default abort caused by SIGALRM. */ signal (SIGALRM, SIG_DFL); - alarm (5); + alarm (10); #endif test_u_strstr (); diff --git a/tests/unistr/test-u32-strstr.c b/tests/unistr/test-u32-strstr.c index 35eed85a19..c291b3c43e 100644 --- a/tests/unistr/test-u32-strstr.c +++ b/tests/unistr/test-u32-strstr.c @@ -38,7 +38,7 @@ main (void) /* Declare failure if test takes too long, by using default abort caused by SIGALRM. */ signal (SIGALRM, SIG_DFL); - alarm (5); + alarm (10); #endif test_u_strstr ();