]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Increase the test timeout of some string tests
authorSzabolcs Nagy <szabolcs.nagy@arm.com>
Tue, 29 Mar 2022 08:50:23 +0000 (09:50 +0100)
committerSzabolcs Nagy <szabolcs.nagy@arm.com>
Fri, 1 Apr 2022 15:02:40 +0000 (16:02 +0100)
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
string/test-strncmp.c

index b86c630bf6eabd1176d80863cf07d1c1ef7d9ec4..1aebc37bb6a3aed29b6c895d900f834146b411c4 100644 (file)
@@ -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);
index bba9e3d2dceffd74083d7817fb213f9e2c7491c4..3e351425482a97751137637b4223b38f5c5042d6 100644 (file)
@@ -25,6 +25,7 @@
 #else
 # define TEST_NAME "strncmp"
 #endif
+#define TIMEOUT (5 * 60)
 #include "test-string.h"
 
 #ifdef WIDE