aboutsummaryrefslogtreecommitdiff
path: root/config.h.in
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2021-12-04 11:25:53 -0800
committerH.J. Lu <hjl.tools@gmail.com>2021-12-04 12:58:28 -0800
commitbada2e312a8b94c5fc2f5571b249c71cb466a640 (patch)
tree0d9ae0da8f6abf3e0f6136b581cdbeaca7c5be04 /config.h.in
parent4df1fa6ddc8925a75f3da644d5da3bb16eb33f02 (diff)
downloadglibc-bada2e312a8b94c5fc2f5571b249c71cb466a640.zip
glibc-bada2e312a8b94c5fc2f5571b249c71cb466a640.tar.gz
glibc-bada2e312a8b94c5fc2f5571b249c71cb466a640.tar.bz2
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 <fweimer@redhat.com>
Diffstat (limited to 'config.h.in')
-rw-r--r--config.h.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/config.h.in b/config.h.in
index 0a6f57b..2f51246 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
+
/*
*/