meson.setupHook: Add timeout-multiplier

0 ss infinite, nix will take care of the timeout

In loaded environments the tests can take longer to build
This commit is contained in:
Artturin
2024-11-17 00:31:51 +02:00
parent de90b990cf
commit 54522e10d5
+4
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[@]}"