From c3297d772174eaffe5601822010c18e2f127e2eb Mon Sep 17 00:00:00 2001 From: Austin Horstman Date: Mon, 2 Jun 2025 22:03:27 -0500 Subject: [PATCH] tests: create `no-big` and `ifd` test outputs. Allows flake access to override easier. Signed-off-by: Austin Horstman --- tests/flake.nix | 26 +++++++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/tests/flake.nix b/tests/flake.nix index e25319a7..34f39d35 100644 --- a/tests/flake.nix +++ b/tests/flake.nix @@ -51,8 +51,32 @@ renameTestPkg = n: lib.nameValuePair "integration-test-${n}"; in lib.mapAttrs' renameTestPkg tests; + + testAllNoBig = + let + tests = import ./. { + inherit pkgs; + enableBig = false; + }; + in + lib.nameValuePair "test-all-no-big" tests.build.all; + + testAllNoBigIfd = + let + tests = import ./. { + inherit pkgs; + enableBig = false; + enableLegacyIfd = true; + }; + in + lib.nameValuePair "test-all-no-big-ifd" tests.build.all; in - testPackages // integrationTestPackages + testPackages + // integrationTestPackages + // (lib.listToAttrs [ + testAllNoBig + testAllNoBigIfd + ]) ); }; }