diff options
author | Randy MacLeod <Randy.MacLeod@windriver.com> | 2019-09-10 17:41:34 -0400 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-09-16 23:02:44 +0100 |
commit | 3b83ad583066795fa3419495b320d5596c55597b (patch) | |
tree | 1533597f4836fec321598ae91aee1ae8ee95b422 /meta/recipes-devtools/valgrind/valgrind_3.15.0.bb | |
parent | ecb8b17efcb07e576f6693d05ceeffa65eae957e (diff) | |
download | poky-3b83ad583066795fa3419495b320d5596c55597b.tar.gz |
valgrind: make a few more ptests pass
Adjust two memcheck vgtest files to deal with relative paths
that are in test executables when cross-compiling.
Add libgomp to enable OpenMP tests.
Add the bz2 executable for memcheck/tests/vcpu_bz2.
(From OE-Core rev: f75792b28e39e4c393c0a00369d5417e3af75b36)
Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/valgrind/valgrind_3.15.0.bb')
-rw-r--r-- | meta/recipes-devtools/valgrind/valgrind_3.15.0.bb | 5 |
1 files changed, 4 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 7bb6001d90..bf0ca57c93 100644 --- a/meta/recipes-devtools/valgrind/valgrind_3.15.0.bb +++ b/meta/recipes-devtools/valgrind/valgrind_3.15.0.bb | |||
@@ -38,6 +38,7 @@ SRC_URI = "https://sourceware.org/pub/valgrind/valgrind-${PV}.tar.bz2 \ | |||
38 | file://0001-Return-a-valid-exit_code-from-vg_regtest.patch \ | 38 | file://0001-Return-a-valid-exit_code-from-vg_regtest.patch \ |
39 | file://0001-valgrind-filter_xml_frames-do-not-filter-usr.patch \ | 39 | file://0001-valgrind-filter_xml_frames-do-not-filter-usr.patch \ |
40 | file://0002-valgrind-adjust-std_list-expected-output.patch \ | 40 | file://0002-valgrind-adjust-std_list-expected-output.patch \ |
41 | file://0001-adjust-path-filter-for-2-memcheck-tests.patch \ | ||
41 | " | 42 | " |
42 | SRC_URI[md5sum] = "46e5fbdcbc3502a5976a317a0860a975" | 43 | SRC_URI[md5sum] = "46e5fbdcbc3502a5976a317a0860a975" |
43 | SRC_URI[sha256sum] = "417c7a9da8f60dd05698b3a7bc6002e4ef996f14c13f0ff96679a16873e78ab1" | 44 | SRC_URI[sha256sum] = "417c7a9da8f60dd05698b3a7bc6002e4ef996f14c13f0ff96679a16873e78ab1" |
@@ -109,7 +110,7 @@ RDEPENDS_${PN} += "perl" | |||
109 | # redirect functions like strlen. | 110 | # redirect functions like strlen. |
110 | RRECOMMENDS_${PN} += "${TCLIBC}-dbg" | 111 | RRECOMMENDS_${PN} += "${TCLIBC}-dbg" |
111 | 112 | ||
112 | RDEPENDS_${PN}-ptest += " bash file perl perl-module-file-glob procps sed ${PN}-dbg" | 113 | RDEPENDS_${PN}-ptest += " bash file libgomp perl perl-module-file-glob procps sed ${PN}-dbg" |
113 | RDEPENDS_${PN}-ptest_append_libc-glibc = " glibc-utils" | 114 | RDEPENDS_${PN}-ptest_append_libc-glibc = " glibc-utils" |
114 | 115 | ||
115 | # One of the tests contains a bogus interpreter path on purpose. | 116 | # One of the tests contains a bogus interpreter path on purpose. |
@@ -158,6 +159,8 @@ do_install_ptest() { | |||
158 | cp ${B}/config.h ${D}${PTEST_PATH} | 159 | cp ${B}/config.h ${D}${PTEST_PATH} |
159 | mkdir ${D}${PTEST_PATH}/perf | 160 | mkdir ${D}${PTEST_PATH}/perf |
160 | cp ${B}/perf/bigcode ${D}${PTEST_PATH}/perf | 161 | cp ${B}/perf/bigcode ${D}${PTEST_PATH}/perf |
162 | # needed by memcheck/tests/vcpu_bz2 | ||
163 | cp ${B}/perf/bz2 ${D}${PTEST_PATH}/perf | ||
161 | 164 | ||
162 | # Hide then restore a.c that is used by ann[12].vgtest in call/cachegrind | 165 | # Hide then restore a.c that is used by ann[12].vgtest in call/cachegrind |
163 | mv ${D}${PTEST_PATH}/cachegrind/tests/a.c ${D}${PTEST_PATH}/cachegrind/tests/a_c | 166 | mv ${D}${PTEST_PATH}/cachegrind/tests/a.c ${D}${PTEST_PATH}/cachegrind/tests/a_c |