[OE-core] [PATCH] sdkext: use simpler kernel module for devtool test

Richard Purdie richard.purdie at linuxfoundation.org
Wed Aug 21 20:57:40 UTC 2019


On Tue, 2019-08-20 at 13:52 -0400, Mark Asselstine wrote:
> The current devtool test for the building of an out-of-tree kernel
> module uses something which requires several "high order" kconfigs to
> be set. This results in the test failing, not for expected reasons,
> but rather because it depends on specific kernel configuration.
> 
> You will get error messages such as
> 
>   ERROR: "video_ioctl2"
>   [.../1.0-r5/testsdkext/workspace/sources/v4l2loopback-
> driver/v4l2loopback.ko]
>   undefined!
>   ERROR: "video_unregister_device"
>   [.../1.0-r5/testsdkext/workspace/sources/v4l2loopback-
> driver/v4l2loopback.ko]
>   undefined!
> 
> Using a simpler hello-world kernel module example will only require
> that CONFIG_MODULE is enabled, thus avoiding a false positive.
> 
> Signed-off-by: Mark Asselstine <mark.asselstine at windriver.com>
> ---
> 
> Richard, it is unclear if I need to match this change in
> meta/lib/oeqa/manual/crops.json.

Those are manual tests for crops. They probably do also need this
change as it would make them more reliable if/as anyone every automates
them, or runs them manually.

>  Please let me know and I
> send a V2 which does this. I am not fond of pointing at
> my own github but it was the best option to ensure it will
> exist and not be messed with.

The best option may be to put that repo onto git.yoctoproject.org?

Cheers,

Richard




More information about the Openembedded-core mailing list