diff options
author | Mark Asselstine <mark.asselstine@windriver.com> | 2019-08-22 11:56:16 -0400 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-09-06 08:15:45 +0100 |
commit | f24aedeff83ea7b36de50985bbe600075a20e2b4 (patch) | |
tree | 22b0db84090e71e0e824440a65b57152845a833b /meta/lib/oeqa/sdkext/cases/devtool.py | |
parent | bf2e0b039a036f3e3f21d05c9dff843d0d293994 (diff) | |
download | poky-f24aedeff83ea7b36de50985bbe600075a20e2b4.tar.gz |
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>
Diffstat (limited to 'meta/lib/oeqa/sdkext/cases/devtool.py')
-rw-r--r-- | meta/lib/oeqa/sdkext/cases/devtool.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/lib/oeqa/sdkext/cases/devtool.py b/meta/lib/oeqa/sdkext/cases/devtool.py index 5a02add764..8e92bf8064 100644 --- a/meta/lib/oeqa/sdkext/cases/devtool.py +++ b/meta/lib/oeqa/sdkext/cases/devtool.py | |||
@@ -73,8 +73,8 @@ class DevtoolTest(OESDKExtTestCase): | |||
73 | self._run('devtool reset %s' % recipe) | 73 | self._run('devtool reset %s' % recipe) |
74 | 74 | ||
75 | def test_devtool_kernelmodule(self): | 75 | def test_devtool_kernelmodule(self): |
76 | docfile = 'https://github.com/umlaeute/v4l2loopback.git' | 76 | docfile = 'https://git.yoctoproject.org/git/kernel-module-hello-world' |
77 | recipe = 'v4l2loopback-driver' | 77 | recipe = 'kernel-module-hello-world' |
78 | self._run('devtool add %s %s' % (recipe, docfile) ) | 78 | self._run('devtool add %s %s' % (recipe, docfile) ) |
79 | try: | 79 | try: |
80 | self._run('devtool build %s' % recipe) | 80 | self._run('devtool build %s' % recipe) |