1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-03-28 02:50:41 +03:00

NIX: Make timeout and test envvars configurable via --arg.

This commit is contained in:
Petr Rockai 2014-09-30 17:06:19 +02:00
parent c2b7642d4d
commit e4d5e22c91

View File

@ -4,7 +4,7 @@
fc20_32_updates ? "", fc20_64_updates ? "",
fc19_32_updates ? "", fc19_64_updates ? "",
fc18_32_updates ? "", fc18_64_updates ? "",
T ? "" }:
T ? "", ENV ? "", timeout ? 60 }:
let
pkgs = import nixpkgs {};
@ -58,8 +58,9 @@ let
watch="--watch /xchg/udevd.log"
fi
export ${ENV}
lvm2-testsuite --batch --outdir /xchg/results --continue \
--fatal-timeouts --heartbeat /xchg/heartbeat \
--timeout ${toString timeout} --fatal-timeouts --heartbeat /xchg/heartbeat \
--flavours ${flavour} $watch --kmsg ${if lib.eqStrings T "" then "" else "--only ${T}"}
# TODO: coverage reports