NixOS VM tests: Difference between revisions

Hexa (talk | contribs)
Osnyx (talk | contribs)
Remove leftover references to the perl test subsystem
Line 12: Line 12:
The wrapper `bin/nixos-run-vms` is in charge to start the driver with the correct VM script as arguments.
The wrapper `bin/nixos-run-vms` is in charge to start the driver with the correct VM script as arguments.


Once the driver is loaded, depending on the environment variables `tests` it will run in an interactive mode or run some perl code (`testScript`).
Once the driver is loaded, depending on the environment variables `tests` it will run in an interactive mode or run some python code (`test_script()`).
In interactive mode, you can run `start_all` followed by `join_all` to start and keep the VM alive
In interactive mode, you can run `start_all()` to start and keep the VM alive


== Connecting to an interactive VM via SSH ==
== Connecting to an interactive VM via SSH ==