On Sat, Sep 11, 2021 at 06:42:05PM -0400, Steven Rostedt wrote: > Laurent Pinchart wrote: > > If you wanted GPU drivers to have tests in tools/selftests, you'd have > > to move Mesa to the kernel :-) > Some selftests have dependencies. It could require that Mesa is > installed to run the tests, otherwise it just returns "unsupported". There are some constraints on selftests for usability reasons, adding too many dependencies and too exotic a set of dependencies works against that - we already disable the BPF tests by default because it is not reasonable for people who are not actively working on BPF to be able to get the dependencies needed for the testsuite up and running and it was causing disruption to people trying to actually use kselftest for actual testing. Of course there's a balancing act here with having the tests picked and used by people but the kernel is such a big piece of software it seems reasonable to expect that we're not going to end up with everything in one place, and if it's not solving a practical problem for the people actively working with the tests it really doesn't seem like a good use of the limited time people have to work on quality stuff.