Bug 10817 - oe-selftest: add a test for devtool modify on the kernel
Summary: oe-selftest: add a test for devtool modify on the kernel
Status: RESOLVED FIXED
Alias: None
Product: Build Testing
Classification: QA/Testing
Component: general (show other bugs)
Version: 2.3
Hardware: x86 Multiple
: Medium+ enhancement
Target Milestone: 2.4 M1
Assignee: Jose Perez C
QA Contact: Jair Gonzalez
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2016-12-16 00:47 UTC by Paul Eggleton
Modified: 2017-03-23 13:37 UTC (History)
6 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Paul Eggleton 2016-12-16 00:47:38 UTC
We need to create an oe-selftest test for "devtool modify virtual/kernel" to verify at least the following:

1) That it checks out the source correctly

2) That you can build the kernel successfully 

3) That the resulting configuration is the same as what you get when you haven't run devtool modify on it

4) That you can make changes to the code and those get incorporated in a subsequent build

5) That you can make changes to the configuration and those get incorporated in a subsequent build
Comment 1 Jose Perez C 2017-01-23 22:15:28 UTC
Patch sent for review 

http://lists.openembedded.org/pipermail/openembedded-core/2017-January/131636.html
Comment 2 Jose Perez C 2017-03-10 22:06:22 UTC
V2 of the patch sent to the list 

http://lists.openembedded.org/pipermail/openembedded-core/2017-March/133982.html
Comment 3 Andrea Galbusera 2017-03-16 16:28:21 UTC
How about also checking that changes can be finalised by finish/update-recipe. This might be or not in the scope of this specific test, but should probably be done. I just filed [1] while noticing that I can't capture kernel configuration fragments with devtool...

[1] https://bugzilla.yoctoproject.org/show_bug.cgi?id=11171
Comment 4 Ross Burton 2017-03-23 13:37:49 UTC
Merged in oe-core 0fa3d331df7d5a5fbd8431febc75efe6bcc6f96b.