mirror of
https://sourceware.org/git/glibc.git
synced 2025-08-07 06:43:00 +03:00
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>
This commit is contained in:
@@ -286,7 +286,7 @@ support_test_main (int argc, char **argv, const struct test_config *config)
|
||||
int direct = 0; /* Directly call the test function? */
|
||||
int status;
|
||||
int opt;
|
||||
unsigned int timeoutfactor = 1;
|
||||
unsigned int timeoutfactor = TIMEOUTFACTOR;
|
||||
pid_t termpid;
|
||||
|
||||
/* If we're debugging the test, we need to disable timeouts and use
|
||||
|
Reference in New Issue
Block a user