Increase the test timeout of some string tests

Message ID 20220331170436.4011174-1-szabolcs.nagy@arm.com
State Committed
Commit 6ff3c7714900529b8f5ca64b58d5da9cd5d5b345
Headers
Series Increase the test timeout of some string tests |

Checks

Context Check Description
dj/TryBot-apply_patch success Patch applied to master at the time it was sent
dj/TryBot-32bit success Build for i686

Commit Message

Szabolcs Nagy March 31, 2022, 5:04 p.m. UTC
  Recent changes in test-strncasecmp and test-strncmp pushed the run time
of the tests above the 4 minute limit specified in test-string.h on an
arm tester machine.
---
 string/test-strncasecmp.c | 1 +
 string/test-strncmp.c     | 1 +
 2 files changed, 2 insertions(+)
  

Comments

Noah Goldstein March 31, 2022, 5:50 p.m. UTC | #1
On Thu, Mar 31, 2022 at 12:05 PM Szabolcs Nagy <szabolcs.nagy@arm.com> wrote:
>
> Recent changes in test-strncasecmp and test-strncmp pushed the run time
> of the tests above the 4 minute limit specified in test-string.h on an
> arm tester machine.
> ---
>  string/test-strncasecmp.c | 1 +
>  string/test-strncmp.c     | 1 +
>  2 files changed, 2 insertions(+)
>
> diff --git a/string/test-strncasecmp.c b/string/test-strncasecmp.c
> index b86c630bf6..1aebc37bb6 100644
> --- a/string/test-strncasecmp.c
> +++ b/string/test-strncasecmp.c
> @@ -24,6 +24,7 @@
>
>  #define TEST_MAIN
>  #define TEST_NAME "strncasecmp"
> +#define TIMEOUT (5 * 60)
>  #include "test-string.h"
>
>  typedef int (*proto_t) (const char *, const char *, size_t);
> diff --git a/string/test-strncmp.c b/string/test-strncmp.c
> index bba9e3d2dc..3e35142548 100644
> --- a/string/test-strncmp.c
> +++ b/string/test-strncmp.c
> @@ -25,6 +25,7 @@
>  #else
>  # define TEST_NAME "strncmp"
>  #endif
> +#define TIMEOUT (5 * 60)
>  #include "test-string.h"
>
>  #ifdef WIDE
> --
> 2.25.1
>

LGTM.
  

Patch

diff --git a/string/test-strncasecmp.c b/string/test-strncasecmp.c
index b86c630bf6..1aebc37bb6 100644
--- a/string/test-strncasecmp.c
+++ b/string/test-strncasecmp.c
@@ -24,6 +24,7 @@ 
 
 #define TEST_MAIN
 #define TEST_NAME "strncasecmp"
+#define TIMEOUT (5 * 60)
 #include "test-string.h"
 
 typedef int (*proto_t) (const char *, const char *, size_t);
diff --git a/string/test-strncmp.c b/string/test-strncmp.c
index bba9e3d2dc..3e35142548 100644
--- a/string/test-strncmp.c
+++ b/string/test-strncmp.c
@@ -25,6 +25,7 @@ 
 #else
 # define TEST_NAME "strncmp"
 #endif
+#define TIMEOUT (5 * 60)
 #include "test-string.h"
 
 #ifdef WIDE