]> code.ossystems Code Review - openembedded-core.git/commit
sdkext: use simpler kernel module for devtool test
authorMark Asselstine <mark.asselstine@windriver.com>
Thu, 22 Aug 2019 15:56:16 +0000 (11:56 -0400)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 6 Sep 2019 07:13:40 +0000 (08:13 +0100)
commit48ad9cffa5f9412a8225c61be7e3528e2bdad095
tree4555cefd48f9044945c30c587e126a7df82ab512
parentaa36510ebea93c1f6f327152e5aa63beccad0275
sdkext: use simpler kernel module for devtool test

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@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oeqa/manual/crops.json
meta/lib/oeqa/sdkext/cases/devtool.py