Skip to contentSkip to conversation

valgrind: Include debugging symbols in ptests

PATCH New Richard Purdie 1 participant 1 message May 14, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 valgrind: Include debugging symbols in ptests

About half the ptests will fail if the executables deployed as part of the ptest package are stripped. We therefore need to add a dependency on the dbg symbols package and silence the QA test which would complain about this since we really do want it in this case.

---
 meta/recipes-devtools/valgrind/valgrind_3.15.0.bb | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
meta/recipes-devtools/valgrind/valgrind_3.15.0.bb +2 -1
index 9749fdb2442..3b3d0f02f7b 100644
@@ -108,12 +108,13 @@ RDEPENDS_${PN} += "perl"
 # redirect functions like strlen.
 RRECOMMENDS_${PN} += "${TCLIBC}-dbg"
 
-RDEPENDS_${PN}-ptest += " sed perl perl-module-file-glob"
+RDEPENDS_${PN}-ptest += " sed perl perl-module-file-glob ${PN}-dbg"
 RDEPENDS_${PN}-ptest_append_libc-glibc = " glibc-utils"
 
 # One of the tests contains a bogus interpreter path on purpose.
 # Skip file dependency check
 SKIP_FILEDEPS_${PN}-ptest = '1'
+INSANE_SKIP_${PN}-ptest = "debug-deps"
 
 do_compile_ptest() {
     oe_runmake check
Signature · 1 line
2.20.1