Bug 15085

Summary: Add a testcase for the devtool add "-b" flag
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Yoann Congal <yoann.congal>
Component: devtools / tool chainAssignee: Yoann Congal <yoann.congal>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: Medium+ CC: meta.mr.watcher, meta.watcher, randy.macleod, yoann.congal
Version: unspecified   
Target Milestone: 4.3 M2   
Hardware: x86   
OS: Multiple   
See Also: https://bugzilla.yoctoproject.org/show_bug.cgi?id=14040
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

Description Yoann Congal 2023-03-29 13:09:19 UTC
While working on bug 14040, no testcase has been found for the "-b" flag in "devtool add -b". We need to add it to avoid any future regression.

I guess we'll need to extend :
https://git.yoctoproject.org/poky/tree/meta/lib/oeqa/selftest/cases/devtool.py
https://git.yoctoproject.org/poky/tree/meta/lib/oeqa/selftest/cases/recipetool.py
Comment 1 Yoann Congal 2023-06-29 15:16:36 UTC
Patch v1:
https://lists.openembedded.org/g/openembedded-core/topic/patch/99825616?p=,,,20,0,0,0::recentpostdate/sticky,,,20,2,0,99825616,previd%3D1687936247898095954,nextid%3D1687919422489733073&previd=1687936247898095954&nextid=1687919422489733073

It does make test fail on host without "rpm".

For the v2: Either generate a simple binary package in the test or manually generate one and send it to be hosted on yocto mirrors.
Comment 2 Yoann Congal 2023-07-05 15:39:51 UTC
Patch v2: https://lists.openembedded.org/g/openembedded-core/message/183892