NixOS / ofborg

@ofborg tooling automation https://monitoring.ofborg.org/dashboard/db/ofborg
https://ofborg.org
MIT License
232 stars 166 forks source link

Granular requiredSystemFeatures: build individual attributes in passthru.tests #678

Open SomeoneSerge opened 5 months ago

SomeoneSerge commented 5 months ago

Currently Ofborg skips all of passthru.tests if at least one of them declares unknown requiredSystemFeatures. Instead Ofborg could filter out the unsupported tests and build the rest. Use-case: this would help avoiding custom attributes like gpuChecks in the following example, https://github.com/NixOS/nixpkgs/blob/24833cd162babe2c4d50b910d439d714fa8897d2/pkgs/development/python-modules/gpuctypes/default.nix#L88-L112

SomeoneSerge commented 2 months ago

Apparently this is also an issue for unfree tests: https://logs.ofborg.org/?key=nixos/nixpkgs.256230&attempt_id=15fe1427-f73b-4e06-a084-11cd77b929e4