Unverified Commit 3281bec7 authored by K900's avatar K900 Committed by GitHub
Browse files

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

nixos/tests/misc: call the tester `test` to be `callTest`-ed
parents 8561851d b35ccb7f
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -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');
  };