]> code.ossystems Code Review - openembedded-core.git/commitdiff
valgrind: Include debugging symbols in ptests
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 14 May 2019 03:57:13 +0000 (23:57 -0400)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 15 May 2019 16:52:49 +0000 (17:52 +0100)
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.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/valgrind/valgrind_3.15.0.bb

index 9749fdb24426425caea8af6b92d6e644c806cdd9..3b3d0f02f7ba7457d0dc43d078254c297e361476 100644 (file)
@@ -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