diff options
author | K900 <me@0upti.me> | 2024-05-12 19:19:40 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-12 19:19:40 +0300 |
commit | 3281bec7174f679eabf584591e75979a258d8c40 (patch) | |
tree | 311efbdf473fd21669100215c9dcb7f69a659a06 | |
parent | 8561851d755d6f02cbbdf90f02669b6ad92592c3 (diff) | |
parent | b35ccb7fda289490130aa0372af05629174c2c11 (diff) |
Merge pull request #311104 from RaitoBezarius/even-more-sowwy-but-sad
nixos/tests/misc: call the tester `test` to be `callTest`-ed
-rw-r--r-- | nixos/tests/misc.nix | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/nixos/tests/misc.nix b/nixos/tests/misc.nix index aa9b9fbe29a52..83e0f46be3ecf 100644 --- a/nixos/tests/misc.nix +++ b/nixos/tests/misc.nix @@ -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'); }; |