allow changing hardware device in tests

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

No files matched your search

+1 -1
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"