Unverified Commit 2a545449 authored by nicoo's avatar nicoo Committed by GitHub
Browse files

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
parent 54df89b8
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -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";