Bug 10594

Summary: Ensure all options of WIC script are tested
Product: [QA/Testing] Build Testing Reporter: Jose Perez C <jose.perez.carranza>
Component: generalAssignee: Jair Gonzalez <jair.de.jesus.gonzalez.plascencia>
Status: VERIFIED FIXED QA Contact: Jose Perez C <jose.perez.carranza>
Severity: normal    
Priority: Medium+ CC: eduard.bartosh
Version: 2.3   
Target Milestone: 2.3 M1   
Hardware: x86   
OS: Multiple   
URL: http://www.yoctoproject.org/docs/2.2/mega-manual/mega-manual.html#creating-partitioned-images
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

Description Jose Perez C 2016-11-03 14:27:35 UTC
Check the current coverage of WIC test and make sure all options are being tested, if not, add test cases for options not tested. 

Current Tests:
$poky/meta/lib/oeqa/selftest/wic.py 

Reference :
http://www.yoctoproject.org/docs/2.2/mega-manual/mega-manual.html#creating-partitioned-images
Comment 1 Ed Bartosh 2016-12-08 13:23:19 UTC
Renamed -p -> -s command line option: http://lists.openembedded.org/pipermail/openembedded-core/2016-December/129855.html

Jose, thanks for pointing it out.
Comment 2 Jose Perez C 2016-12-08 13:34:36 UTC
(In reply to comment #1)
> Renamed -p -> -s command line option:
> http://lists.openembedded.org/pipermail/openembedded-core/2016-December/
> 129855.html
> 
> Jose, thanks for pointing it out.

It was Jair who found this !!
Comment 3 Jair Gonzalez 2016-12-13 16:53:49 UTC
Patch has been submitted to OE-Core list: http://lists.openembedded.org/pipermail/openembedded-core/2016-December/130131.html
Comment 4 Jair Gonzalez 2016-12-19 23:04:46 UTC
Patch set v2 has been submitted for review to OE-Core list:
http://lists.openembedded.org/pipermail/openembedded-core/2016-December/130400.html
Comment 5 Jair Gonzalez 2017-01-03 16:31:38 UTC
Merged on master (dd37336b4dedf63d5c4daf7fd4d507091b7a7256)
Comment 7 Jair Gonzalez 2017-01-03 16:45:50 UTC
In addition to the main patch, the following three related patches were also merged to master:

selftest/wic: reorganizing test methods by functionality - http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=f8745bb51935e8fddab5daf3c1ad460a72e890bd

selftest/wic: code cleanup - http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=285c2ed90e8056999c40df9cce3035e92cd7f9b4

selftest/wic: adding Testopia ID numbers to test cases missing it - http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=c48c0f38b1726378d6761225ab0a4ceca7492588
Comment 8 Jose Perez C 2017-04-11 20:38:01 UTC
WIC options were tested correcly on latest validation for oe-selftest on 2.3 M3 rc2 .. https://wiki.yoctoproject.org/wiki/WW14_-_2017-03-28_-_Full_Test_Cycle_2.3_M3_rc2#OE-Core 

poky commit: 415b72ffcbd26e5f3664370d8b2a9b8105fb6342