nixos/tests: fix testDriver reference in runInMachine function

In a previous commit I broke this as there is no longer one testDriver
but only a function to generate one based on some QEMU inputs.
wip/yesman
Andreas Rammhold 4 years ago
parent 61b09f552c
commit fa25d84d13
No known key found for this signature in database
GPG Key ID: E432E410B5E48C86
  1. 3
      nixos/lib/testing-python.nix

@ -200,6 +200,7 @@ rec {
, machine
, preBuild ? ""
, postBuild ? ""
, qemu ? pkgs.qemu_test
, ... # ???
}:
let
@ -254,7 +255,7 @@ rec {
unset xchg
export tests='${testScript}'
${testDriver}/bin/nixos-test-driver ${vm.config.system.build.vm}/bin/run-*-vm
${mkTestDriver qemu}/bin/nixos-test-driver ${vm.config.system.build.vm}/bin/run-*-vm
''; # */
in

Loading…
Cancel
Save