d4fb7daafd
This reverts commit aab534b894
& uses the
driverInteractive attribute for the test driver instead.
This has the same effect but removes the extra module in the
nixos-build-vms code.
18 lines
406 B
Nix
18 lines
406 B
Nix
{ system ? builtins.currentSystem
|
|
, config ? {}
|
|
, networkExpr
|
|
}:
|
|
|
|
let
|
|
nodes = builtins.mapAttrs (vm: module: {
|
|
_file = "${networkExpr}@node-${vm}";
|
|
imports = [ module ];
|
|
}) (import networkExpr);
|
|
in
|
|
|
|
with import ../../../../lib/testing-python.nix {
|
|
inherit system;
|
|
pkgs = import ../../../../.. { inherit system config; };
|
|
};
|
|
|
|
(makeTest { inherit nodes; testScript = ""; }).driverInteractive
|