Bug 14914

Summary: Add DISTRO_FEATURES to enable ptests to use valgrind and more
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Zheng Qiu <Zheng.Qiu>
Component: oe-core otherAssignee: Unassigned <unassigned>
Status: RESOLVED WONTFIX QA Contact:
Severity: enhancement    
Priority: Medium CC: randy.macleod, richard.purdie, ross.burton, sgw
Version: 4.2   
Target Milestone: 4.2   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: Yes (doc changes required)

Description Zheng Qiu 2022-09-15 19:42:22 UTC
When writing the ptest for jq in meta-oe(1), we initially had valgrind be a dependency. Ross pointed put out that:
   "Not sure this is useful for us: we want to use ptest for integration 
   testing, not development regression testing"
so we removed the valgrind dependency.

Randy and I discussed this, and thought that for released products being able to run valgrind and other tools that check for correct runtime behaviour would be useful, for example a user added a number of complicated CVEs.

This enhancement suggest add DISTRO_FEATURES:ptest-extended.

1: https://lists.openembedded.org/g/openembedded-devel/messages?expanded=1&msgnum=98823
Comment 1 Richard Purdie 2022-09-22 14:36:40 UTC
You can make an arguments to make almost any PACKAGECONFIG a distro feature and I'm not sure we want to go that route, particularly as in some cases you may want to enable it but not for others.

As such I'd suggest making it a PACKAGECONFIG. If we do ever have a lot of places we need to track a list, we'd probably create an include file.
Comment 2 Randy MacLeod 2022-10-03 13:36:08 UTC
Closing since there isn't interest in enabling such tests as a DISTRO_FEATURE.
PACKAGECONFIG can work.
Comment 3 Randy MacLeod 2025-02-14 16:46:21 UTC
bulk change to add Saul's non-WR address.
Comment 4 Randy MacLeod 2025-02-14 16:48:12 UTC
Bulk change: Remove Saul's old WR address.