]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.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:15:45 +0000 (08:15 +0100)
commitf24aedeff83ea7b36de50985bbe600075a20e2b4
tree22b0db84090e71e0e824440a65b57152845a833b
parentbf2e0b039a036f3e3f21d05c9dff843d0d293994
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.

(From OE-Core rev: 48ad9cffa5f9412a8225c61be7e3528e2bdad095)

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