Merge pull request #311104 from RaitoBezarius/even-more-sowwy-but-sad

nixos/tests/misc: call the tester `test` to be `callTest`-ed
This commit is contained in:
K900
2024-05-12 19:19:40 +03:00
committed by GitHub
+4 -1
View File
@@ -9,7 +9,10 @@ let
};
testsForPackage = args: lib.recurseIntoAttrs {
miscFeatures = testMiscFeatures args;
# If the attribute is not named 'test'
# You will break all the universe on the release-*.nix side of things.
# `discoverTests` relies on `test` existence to perform a `callTest`.
test = testMiscFeatures args;
passthru.override = args': testsForPackage (args // args');
};