[Backport staging-24.11] meson.setupHook: Add timeout-multiplier (#357115)

This commit is contained in:
Artturin 2024-11-20 19:13:28 +02:00 committed by GitHub
commit 72d5c16acd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -54,6 +54,10 @@ mesonCheckPhase() {
local flagsArray=()
concatTo flagsArray mesonCheckFlags mesonCheckFlagsArray
if [ -z "${dontAddTimeoutMultiplier:-}" ]; then
flagsArray+=("--timeout-multiplier=0")
fi
echoCmd 'mesonCheckPhase flags' "${flagsArray[@]}"
meson test --no-rebuild --print-errorlogs "${flagsArray[@]}"