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:
commit
3281bec717
@ -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');
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user