about summary refs log tree commit diff
path: root/string
diff options
context:
space:
mode:
authorSzabolcs Nagy <szabolcs.nagy@arm.com>2022-03-29 09:50:23 +0100
committerSzabolcs Nagy <szabolcs.nagy@arm.com>2022-04-01 16:02:40 +0100
commit6ff3c7714900529b8f5ca64b58d5da9cd5d5b345 (patch)
tree07222a9d60cb7452161e360960f2eee839dc3a04 /string
parentb416555431b47a21a855f225c6f5368ae4e4d56c (diff)
downloadglibc-6ff3c7714900529b8f5ca64b58d5da9cd5d5b345.tar.gz
glibc-6ff3c7714900529b8f5ca64b58d5da9cd5d5b345.tar.xz
glibc-6ff3c7714900529b8f5ca64b58d5da9cd5d5b345.zip
Increase the test timeout of some string tests
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.
Diffstat (limited to 'string')
-rw-r--r--string/test-strncasecmp.c1
-rw-r--r--string/test-strncmp.c1
2 files changed, 2 insertions, 0 deletions
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