nixos/lib/testing-python.nix: Wire up passthru
This commit is contained in:
parent
48929049d7
commit
72a5301610
@ -67,6 +67,8 @@ rec {
|
|||||||
|
|
||||||
LOGFILE=/dev/null tests='exec(os.environ["testScript"])' ${driver}/bin/nixos-test-driver
|
LOGFILE=/dev/null tests='exec(os.environ["testScript"])' ${driver}/bin/nixos-test-driver
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
passthru = driver.passthru;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
@ -76,6 +78,7 @@ rec {
|
|||||||
, name ? "unnamed"
|
, name ? "unnamed"
|
||||||
# Skip linting (mainly intended for faster dev cycles)
|
# Skip linting (mainly intended for faster dev cycles)
|
||||||
, skipLint ? false
|
, skipLint ? false
|
||||||
|
, passthru ? {}
|
||||||
, ...
|
, ...
|
||||||
} @ t:
|
} @ t:
|
||||||
let
|
let
|
||||||
@ -137,7 +140,7 @@ rec {
|
|||||||
testScript = testScript';
|
testScript = testScript';
|
||||||
preferLocalBuild = true;
|
preferLocalBuild = true;
|
||||||
testName = name;
|
testName = name;
|
||||||
passthru = {
|
passthru = passthru // {
|
||||||
inherit nodes;
|
inherit nodes;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user