mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 23:13:19 +00:00
nixos/tests/misc: call the tester test
to be callTest
-ed
Otherwise, this will destroy the release machinery to collect all the systems. Signed-off-by: Raito Bezarius <masterancpp@gmail.com>
This commit is contained in:
parent
07ca942344
commit
b35ccb7fda
@ -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