allow changing hardware device in tests

This commit is contained in:
Daniel Barlow 2022-09-20 16:09:44 +01:00
parent e892dc6e9c
commit ad759b7c6d
3 changed files with 13 additions and 1 deletions

View file

@ -1,5 +1,5 @@
set -e
NIXPKGS_ALLOW_UNSUPPORTED_SYSTEM=1 nix-build -I liminix-config=./tests/smoke/configuration.nix -o smoke.img
NIXPKGS_ALLOW_UNSUPPORTED_SYSTEM=1 nix-build -I liminix-config=./tests/smoke/configuration.nix --arg device "import ./devices/$DEVICE.nix" -o smoke.img
TESTS=$(cat <<"EOF"