test: support run
, debug
commands in basic NixOS tests
Currently, this only affects the basic NixOS test `clightning-replication`.
This commit is contained in:
parent
ae733d887e
commit
addfa8ec6b
@ -27,4 +27,9 @@ let
|
||||
inherit (test) meta passthru;
|
||||
} // test;
|
||||
in
|
||||
runTest
|
||||
runTest // {
|
||||
# A VM runner for interactive use
|
||||
run = pkgs.writers.writeBashBin "run-vm" ''
|
||||
. ${./run-vm.sh} ${runTest.driver} "$@"
|
||||
'';
|
||||
}
|
||||
|
@ -52,11 +52,6 @@ let
|
||||
];
|
||||
};
|
||||
|
||||
# A VM runner for interactive use
|
||||
run = pkgs.writers.writeBashBin "run-vm" ''
|
||||
. ${./run-vm.sh} ${test.driver} "$@"
|
||||
'';
|
||||
|
||||
mkContainer = legacyInstallDirs:
|
||||
extra-container.lib.buildContainers {
|
||||
inherit system legacyInstallDirs;
|
||||
@ -139,7 +134,6 @@ let
|
||||
in
|
||||
test // {
|
||||
inherit
|
||||
run
|
||||
vm
|
||||
container
|
||||
# For NixOS with `system.stateVersion` <22.05
|
||||
|
Loading…
Reference in New Issue
Block a user