nixosTests.systemd-boot.memtest86: only run when memtest86plus
is available (#335825)
The blocks the `nixos-unstable` channel due to an [evaluation error] for `aarch64-linux`. [evaluation error]: https://gist.github.com/nbraud/8820dda48156922f998bba987eb229c6
This commit is contained in:
parent
54df89b8ad
commit
2a5454490e
@ -269,9 +269,9 @@ in
|
||||
'';
|
||||
};
|
||||
|
||||
memtest86 = makeTest {
|
||||
memtest86 = with pkgs.lib; optionalAttrs (meta.availableOn { inherit system; } pkgs.memtest86plus) (makeTest {
|
||||
name = "systemd-boot-memtest86";
|
||||
meta.maintainers = with pkgs.lib.maintainers; [ julienmalka ];
|
||||
meta.maintainers = with maintainers; [ julienmalka ];
|
||||
|
||||
nodes.machine = { pkgs, lib, ... }: {
|
||||
imports = [ common ];
|
||||
@ -282,7 +282,7 @@ in
|
||||
machine.succeed("test -e /boot/loader/entries/memtest86.conf")
|
||||
machine.succeed("test -e /boot/efi/memtest86/memtest.efi")
|
||||
'';
|
||||
};
|
||||
});
|
||||
|
||||
netbootxyz = makeTest {
|
||||
name = "systemd-boot-netbootxyz";
|
||||
|
Loading…
Reference in New Issue
Block a user