From: Dmitry Frolov Date: Wed, 13 Nov 2024 09:43:40 +0000 (+0300) Subject: tests/qtest: add TIMEOUT_MULTIPLIER X-Git-Tag: v10.0.0-rc0~122^2~21 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=94aa1a0e30065e06ee81cd9f71cccb0c393ede3f;p=thirdparty%2Fqemu.git tests/qtest: add TIMEOUT_MULTIPLIER Some tests need more time when qemu is built with "--enable-asan --enable-ubsan" As was discussed here: https://patchew.org/QEMU/20241112120100.176492-2-frolov@swemel.ru/ TIMEOUT_MULTIPLIER enviroment variable will be a useful option, allowing non-invasive timeouts increasing for a specific build. Signed-off-by: Dmitry Frolov Tested-by: Fabiano Rosas [changed from ifndef to ?=] Signed-off-by: Fabiano Rosas --- diff --git a/scripts/mtest2make.py b/scripts/mtest2make.py index eb01a05ddbd..2ef375fc6fb 100644 --- a/scripts/mtest2make.py +++ b/scripts/mtest2make.py @@ -27,7 +27,7 @@ SPEED = quick .speed.slow = $(foreach s,$(sort $(filter-out %-thorough, $1)), --suite $s) .speed.thorough = $(foreach s,$(sort $1), --suite $s) -TIMEOUT_MULTIPLIER = 1 +TIMEOUT_MULTIPLIER ?= 1 .mtestargs = --no-rebuild -t $(TIMEOUT_MULTIPLIER) ifneq ($(SPEED), quick) .mtestargs += --setup $(SPEED)