[PATCH i-g-t] lib/igt_kmod: Allow to load kunit from alias
Lucas De Marchi
lucas.demarchi at intel.com
Mon Mar 4 19:58:08 UTC 2024
On Mon, Mar 04, 2024 at 05:05:29PM +0100, Kamil Konieczny wrote:
>Hi Lucas,
>On 2024-02-22 at 11:30:44 -0800, Lucas De Marchi wrote:
>> Instead of only allowing to load the from the module name, also allow it
>> from alias by using kmod_module_new_from_lookup(). With that a user can
>> have their on aliases and the kernel can also export a compat alias for
>> future module renames.
>>
>> Signed-off-by: Lucas De Marchi <lucas.demarchi at intel.com>
>
>It is somehow test listing failing: ./dmabuf --list
>
>tests/dmabuf:
>Checking invalid option handling...
>Checking valid option handling...
>Checking subtest enumeration...
>test does seem to be using igt_main() (should have subtests) and yet --list-subtests is empty!
thanks for finding that. Humn... the issue is that igt_kselftests()
creates a kmod ctx and a kmod_module even for listing tests and
apparently on the server side (where things were not supposed to
execute).
I will take a look on fixing that up.
Lucas De Marchi
More information about the igt-dev
mailing list