better test + migration

This commit is contained in:
ari committed 2026-09-17 16:26:15 -04:00
1 parent 27b713affa
commit ab8260a5d0
8 files changed
+202 -34

No files matched your search

+7 -2
View File
@@ -13,6 +13,11 @@
# Not run for you automatically: this needs a real build, which agents in
# this repo don't run (see GUIDELINES.md). You (or CI) run this by hand.
def main [] {
^nix build ".#checks.x86_64-linux.guest-vm" --impure -L
def main [
suite?: string # which check to run: guest-vm (default) or migrate-connections-vm
] {
let check = $suite | default "guest-vm"
let attr = $".#checks.x86_64-linux.($check)"
print $"running ($attr)"
^nix build $attr --impure -L
}
+7 -2
View File
@@ -14,7 +14,12 @@
# reads /etc/hermenix/local.nix if present). Not run for you automatically
# — needs a real build, which agents in this repo don't run.
def main [] {
^nix build ".#checks.x86_64-linux.guest-vm.driverInteractive" --impure -L
def main [
suite?: string # which check to debug: guest-vm (default) or migrate-connections-vm
] {
let check = $suite | default "guest-vm"
let attr = $".#checks.x86_64-linux.($check).driverInteractive"
print $"building interactive driver for ($attr)"
^nix build $attr --impure -L
^./result/bin/nixos-test-driver
}