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.
This commit is contained in:
parent
61b09f552c
commit
fa25d84d13
|
@ -200,6 +200,7 @@ rec {
|
||||||
, machine
|
, machine
|
||||||
, preBuild ? ""
|
, preBuild ? ""
|
||||||
, postBuild ? ""
|
, postBuild ? ""
|
||||||
|
, qemu ? pkgs.qemu_test
|
||||||
, ... # ???
|
, ... # ???
|
||||||
}:
|
}:
|
||||||
let
|
let
|
||||||
|
@ -254,7 +255,7 @@ rec {
|
||||||
unset xchg
|
unset xchg
|
||||||
|
|
||||||
export tests='${testScript}'
|
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
|
in
|
||||||
|
|
Loading…
Reference in a new issue