mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-21 22:43:01 +00:00
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
(cherry picked from commit 54522e10d5
)
This commit is contained in:
parent
ab131d43ac
commit
a49bc5c9e5
@ -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[@]}"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user