From bada2e312a8b94c5fc2f5571b249c71cb466a640 Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Sat, 4 Dec 2021 11:25:53 -0800 Subject: Add --with-timeoutfactor=NUM to specify TIMEOUTFACTOR On Ice Lake and Tiger Lake laptops, some test programs timeout when there are 3 "make check -j8" runs in parallel. Add --with-timeoutfactor=NUM to specify an integer to scale the timeout of test programs, which can be overriden by TIMEOUTFACTOR environment variable. Reviewed-by: Florian Weimer --- config.h.in | 3 +++ 1 file changed, 3 insertions(+) (limited to 'config.h.in') diff --git a/config.h.in b/config.h.in index 0a6f57b006..2f5124684e 100644 --- a/config.h.in +++ b/config.h.in @@ -196,6 +196,9 @@ /* Define to 1 if libpthread actually resides in libc. */ #define PTHREAD_IN_LIBC 0 +/* An integer used to scale the timeout of test programs. */ +#define TIMEOUTFACTOR 1 + /* */ -- cgit 1.4.1