diff options
| author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-05-13 23:57:13 -0400 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-05-15 17:53:29 +0100 |
| commit | 587990fa282c87d899e2e2d758a506c7ba3664d4 (patch) | |
| tree | 4859b33e753428769aa359c4fe289abc05875954 | |
| parent | eab20c9d50dc208508a4b245ffb0e5f85505b7d7 (diff) | |
| download | poky-587990fa282c87d899e2e2d758a506c7ba3664d4.tar.gz | |
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.
(From OE-Core rev: 7d8407583033ea70039dd7e475c325efcf857c18)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
| -rw-r--r-- | meta/recipes-devtools/valgrind/valgrind_3.15.0.bb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/recipes-devtools/valgrind/valgrind_3.15.0.bb b/meta/recipes-devtools/valgrind/valgrind_3.15.0.bb index 9749fdb244..3b3d0f02f7 100644 --- a/meta/recipes-devtools/valgrind/valgrind_3.15.0.bb +++ b/meta/recipes-devtools/valgrind/valgrind_3.15.0.bb | |||
| @@ -108,12 +108,13 @@ RDEPENDS_${PN} += "perl" | |||
| 108 | # redirect functions like strlen. | 108 | # redirect functions like strlen. |
| 109 | RRECOMMENDS_${PN} += "${TCLIBC}-dbg" | 109 | RRECOMMENDS_${PN} += "${TCLIBC}-dbg" |
| 110 | 110 | ||
| 111 | RDEPENDS_${PN}-ptest += " sed perl perl-module-file-glob" | 111 | RDEPENDS_${PN}-ptest += " sed perl perl-module-file-glob ${PN}-dbg" |
| 112 | RDEPENDS_${PN}-ptest_append_libc-glibc = " glibc-utils" | 112 | RDEPENDS_${PN}-ptest_append_libc-glibc = " glibc-utils" |
| 113 | 113 | ||
| 114 | # One of the tests contains a bogus interpreter path on purpose. | 114 | # One of the tests contains a bogus interpreter path on purpose. |
| 115 | # Skip file dependency check | 115 | # Skip file dependency check |
| 116 | SKIP_FILEDEPS_${PN}-ptest = '1' | 116 | SKIP_FILEDEPS_${PN}-ptest = '1' |
| 117 | INSANE_SKIP_${PN}-ptest = "debug-deps" | ||
| 117 | 118 | ||
| 118 | do_compile_ptest() { | 119 | do_compile_ptest() { |
| 119 | oe_runmake check | 120 | oe_runmake check |
