aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2022-09-15 13:15:26 +0200
committerEelco Dolstra <edolstra@gmail.com>2022-09-15 13:15:26 +0200
commit29aaec1e593f1837a73779f243ed0ec4220f7ea8 (patch)
treebbba1fb5fbc5ccc2284f6a5ec9277290c9cb1b8f /tests
parentfe958a682d293dec5f27d0c161833b453370d755 (diff)
Make cross product of images and tests
Diffstat (limited to 'tests')
-rw-r--r--tests/installer/default.nix14
1 files changed, 6 insertions, 8 deletions
diff --git a/tests/installer/default.nix b/tests/installer/default.nix
index d0707018f..72ad764cc 100644
--- a/tests/installer/default.nix
+++ b/tests/installer/default.nix
@@ -168,11 +168,9 @@ let
in
-{
- ubuntu-14-04.install-default = makeTest "ubuntu-14-04" "install-default";
- #ubuntu-16-04.install-default = makeTest "ubuntu-16-04" "install-default";
- ubuntu-22-10.install-default = makeTest "ubuntu-22-10" "install-default";
- ubuntu-22-10.install-force-daemon = makeTest "ubuntu-22-10" "install-force-daemon";
- fedora-36.install-default = makeTest "fedora-36" "install-default";
- fedora-36.install-force-daemon = makeTest "fedora-36" "install-force-daemon";
-}
+builtins.mapAttrs (imageName: image:
+ { ${image.system} = builtins.mapAttrs (testName: test:
+ makeTest imageName testName
+ ) installScripts;
+ }
+) images