nixos/tests/lxd: disable virtual-machine test on aarch64

This commit is contained in:
Adam Stephens 2023-09-04 15:19:34 -04:00 committed by Anderson Torres
parent a90385c62b
commit c811cf643f
2 changed files with 3 additions and 2 deletions

View file

@ -446,7 +446,7 @@ in {
loki = handleTest ./loki.nix {}; loki = handleTest ./loki.nix {};
luks = handleTest ./luks.nix {}; luks = handleTest ./luks.nix {};
lvm2 = handleTest ./lvm2 {}; lvm2 = handleTest ./lvm2 {};
lxd = pkgs.recurseIntoAttrs (handleTest ./lxd {}); lxd = pkgs.recurseIntoAttrs (handleTest ./lxd { inherit handleTestOn; });
lxd-image-server = handleTest ./lxd-image-server.nix {}; lxd-image-server = handleTest ./lxd-image-server.nix {};
#logstash = handleTest ./logstash.nix {}; #logstash = handleTest ./logstash.nix {};
lorri = handleTest ./lorri/default.nix {}; lorri = handleTest ./lorri/default.nix {};

View file

@ -2,10 +2,11 @@
system ? builtins.currentSystem, system ? builtins.currentSystem,
config ? {}, config ? {},
pkgs ? import ../../.. {inherit system config;}, pkgs ? import ../../.. {inherit system config;},
handleTestOn,
}: { }: {
container = import ./container.nix {inherit system pkgs;}; container = import ./container.nix {inherit system pkgs;};
nftables = import ./nftables.nix {inherit system pkgs;}; nftables = import ./nftables.nix {inherit system pkgs;};
preseed = import ./preseed.nix {inherit system pkgs;}; preseed = import ./preseed.nix {inherit system pkgs;};
ui = import ./ui.nix {inherit system pkgs;}; ui = import ./ui.nix {inherit system pkgs;};
virtual-machine = import ./virtual-machine.nix { inherit system pkgs; }; virtual-machine = handleTestOn ["x86_64-linux"] ./virtual-machine.nix { inherit system pkgs; };
} }