[PATCH] string: Use extended timeout for test-mempcpy
Magnus Lindholm <[email protected]> Mon, 3 Aug 2026 17:53:11 +0200
| Newsgroups | gmane.comp.lib.glibc.alpha |
|---|---|
| Message-ID | <[email protected]> |
The shared memcpy tests use an eight-minute timeout because they can take significantly longer than other string tests. test-mempcpy provides its own test setup and includes test-string.h before the shared memcpy test functions are included. It therefore receives the four-minute default timeout instead of the extended timeout used by test-memcpy. Define the same eight-minute timeout explicitly for test-mempcpy. This prevents the test from being terminated while it is still making progress on slower systems. Signed-off-by: Magnus Lindholm <[email protected]> --- string/test-mempcpy.c | 1 + 1 file changed, 1 insertion(+) diff --git a/string/test-mempcpy.c b/string/test-mempcpy.c index cc7f9d447c..cc2ec23173 100644 --- a/string/test-mempcpy.c +++ b/string/test-mempcpy.c @@ -18,6 +18,7 @@ #define MEMCPY_RESULT(dst, len) (dst) + (len) #define MIN_PAGE_SIZE 131072 +#define TIMEOUT (8 * 60) #define TEST_MAIN #define TEST_NAME "mempcpy" #include "test-string.h" -- 2.53.0