Bug 15085 - Add a testcase for the devtool add "-b" flag
Summary: Add a testcase for the devtool add "-b" flag
Status: RESOLVED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: devtools / tool chain (show other bugs)
Version: unspecified
Hardware: x86 Multiple
: Medium+ enhancement
Target Milestone: 4.3 M2
Assignee: Yoann Congal
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2023-03-29 13:09 UTC by Yoann Congal
Modified: 2023-07-11 07:18 UTC (History)
4 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 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