From cabe16c8126be5b7c816106c86647c3d90b0fed8 Mon Sep 17 00:00:00 2001 From: marshmallow Date: Mon, 3 Nov 2025 18:17:44 +1100 Subject: [PATCH] use dev mode for vm tests --- tests/nix/default.nix | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/tests/nix/default.nix b/tests/nix/default.nix index b827b2f..f8981de 100644 --- a/tests/nix/default.nix +++ b/tests/nix/default.nix @@ -153,20 +153,21 @@ in testName = name; snakeOil = import "${pkgs.path}/nixos/tests/ssh-keys.nix" pkgs; inherit (opts) testDir; - inherit (self'.packages) wire-small; + inherit (self'.packages) wire-small-dev; }; # NOTE: there is surely a better way of doing this in a more # "controlled" manner, but until a need is asked for, this will remain # as is. - testScript = '' - start_all() + testScript = + '' + start_all() - TEST_DIR="${injectedFlakeDir}/${path}" + TEST_DIR="${injectedFlakeDir}/${path}" - ${builtins.readFile ./tools.py} - '' - + lib.concatStringsSep "\n" (mapAttrsToList (_: value: value._wire.testScript) value.nodes) - + opts.testScript; + ${builtins.readFile ./tools.py} + '' + + lib.concatStringsSep "\n" (mapAttrsToList (_: value: value._wire.testScript) value.nodes) + + opts.testScript; }; }; in -- 2.51.2