nixos/release: Dynamically generate installer tests

This commit is contained in:
William A. Kennington III 2014-05-01 20:21:02 -05:00
parent 769d2dc6bf
commit 5870ae613f

View File

@ -222,12 +222,11 @@ in rec {
tests.firefox = callTest tests/firefox.nix {}; tests.firefox = callTest tests/firefox.nix {};
tests.firewall = callTest tests/firewall.nix {}; tests.firewall = callTest tests/firewall.nix {};
tests.gnome3 = callTest tests/gnome3.nix {}; tests.gnome3 = callTest tests/gnome3.nix {};
tests.installer.efi = forAllSystems (system: (import tests/installer.nix { inherit system; }).efi.test); tests.installer = with pkgs.lib;
tests.installer.grub1 = forAllSystems (system: (import tests/installer.nix { inherit system; }).grub1.test); let installer = import tests/installer.nix; in
tests.installer.lvm = forAllSystems (system: (import tests/installer.nix { inherit system; }).lvm.test); flip mapAttrs (installer { }) (name: _:
tests.installer.rebuildCD = forAllSystems (system: (import tests/installer.nix { inherit system; }).rebuildCD.test); forAllSystems (system: (installer { system = system; }).${name}.test)
tests.installer.separateBoot = forAllSystems (system: (import tests/installer.nix { inherit system; }).separateBoot.test); );
tests.installer.simple = forAllSystems (system: (import tests/installer.nix { inherit system; }).simple.test);
tests.influxdb = callTest tests/influxdb.nix {}; tests.influxdb = callTest tests/influxdb.nix {};
tests.ipv6 = callTest tests/ipv6.nix {}; tests.ipv6 = callTest tests/ipv6.nix {};
tests.jenkins = callTest tests/jenkins.nix {}; tests.jenkins = callTest tests/jenkins.nix {};