Skip to content

Latest commit

 

History

History
36 lines (26 loc) · 481 Bytes

File metadata and controls

36 lines (26 loc) · 481 Bytes

Test suite

To run all tests

nix flake check

To run a specific test

nix build .#checks.x86_64-linux.<test-name> -L

Dyncamic test

nix build -L .#checks.x86_64-linux.<test-name>.driver
./result/bin/nixos-test-driver --interactive

Then in the REPL

start_all()
...
machine-name.shell_interact()
...
quit()

Delete successful tests to re-run them

result=$(readlink -f ./result) rm ./result && nix-store --delete $result