[PATCH] Increase the test timeout of some string tests

Szabolcs Nagy szabolcs.nagy@arm.com
Thu Mar 31 17:04:36 GMT 2022


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



More information about the Libc-alpha mailing list