Bug 10817

Summary: oe-selftest: add a test for devtool modify on the kernel
Product: [QA/Testing] Build Testing Reporter: Paul Eggleton <bluelightning>
Component: generalAssignee: Jose Perez C <jose.perez.carranza>
Status: RESOLVED FIXED QA Contact: Jair Gonzalez <jair.de.jesus.gonzalez.plascencia>
Severity: enhancement    
Priority: Medium+ CC: gizero, jair.de.jesus.gonzalez.plascencia, jose.perez.carranza, leonardo.sandoval.gonzalez, richard.purdie, ross.burton
Version: 2.3   
Target Milestone: 2.4 M1   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

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.