mirror of
https://github.com/nix-community/home-manager.git
synced 2025-11-08 19:46:05 +01:00
tests: create no-big and ifd test outputs.
Allows flake access to override easier. Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
This commit is contained in:
parent
f8008b5602
commit
a08adba6e0
1 changed files with 25 additions and 1 deletions
|
|
@ -51,8 +51,32 @@
|
||||||
renameTestPkg = n: lib.nameValuePair "integration-test-${n}";
|
renameTestPkg = n: lib.nameValuePair "integration-test-${n}";
|
||||||
in
|
in
|
||||||
lib.mapAttrs' renameTestPkg tests;
|
lib.mapAttrs' renameTestPkg tests;
|
||||||
|
|
||||||
|
testAllNoBig =
|
||||||
|
let
|
||||||
|
tests = import ./. {
|
||||||
|
inherit pkgs;
|
||||||
|
enableBig = false;
|
||||||
|
};
|
||||||
in
|
in
|
||||||
testPackages // integrationTestPackages
|
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
|
||||||
|
// (lib.listToAttrs [
|
||||||
|
testAllNoBig
|
||||||
|
testAllNoBigIfd
|
||||||
|
])
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue