diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2022-09-15 13:15:26 +0200 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2022-09-15 13:15:26 +0200 |
commit | 29aaec1e593f1837a73779f243ed0ec4220f7ea8 (patch) | |
tree | bbba1fb5fbc5ccc2284f6a5ec9277290c9cb1b8f | |
parent | fe958a682d293dec5f27d0c161833b453370d755 (diff) |
Make cross product of images and tests
-rw-r--r-- | tests/installer/default.nix | 14 |
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 |