diff options
author | Patrick Hilhorst <git@hilhorst.be> | 2022-01-02 23:48:56 +0100 |
---|---|---|
committer | Patrick Hilhorst <git@hilhorst.be> | 2022-01-04 14:52:37 +0100 |
commit | d4dc638d77fc31aaa3000090e50a69fa6096fb86 (patch) | |
tree | ea3fd2268d66c77660ab7229e7b4579fe96aeee2 /nixos/lib/testing-python.nix | |
parent | c003ae2dea252c20c58b1eb59b7b54e6170647d7 (diff) |
nixos/test-driver: also passthru driverInteractive
Diffstat (limited to 'nixos/lib/testing-python.nix')
-rw-r--r-- | nixos/lib/testing-python.nix | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/nixos/lib/testing-python.nix b/nixos/lib/testing-python.nix index 365e22714573e..a670404681367 100644 --- a/nixos/lib/testing-python.nix +++ b/nixos/lib/testing-python.nix @@ -17,7 +17,7 @@ rec { inherit pkgs; # Run an automated test suite in the given virtual network. - runTests = { driver, pos }: + runTests = { driver, driverInteractive, pos }: stdenv.mkDerivation { name = "vm-test-run-${driver.testName}"; @@ -34,7 +34,7 @@ rec { ''; passthru = driver.passthru // { - inherit driver; + inherit driver driverInteractive; }; inherit pos; # for better debugging @@ -224,7 +224,7 @@ rec { passMeta = drv: drv // lib.optionalAttrs (t ? meta) { meta = (drv.meta or { }) // t.meta; }; - in passMeta (runTests { inherit driver pos; }); + in passMeta (runTests { inherit driver pos driverInteractive; }); in test // { |