summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/valgrind/valgrind_3.16.1.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/valgrind/valgrind_3.16.1.bb')
-rw-r--r--meta/recipes-devtools/valgrind/valgrind_3.16.1.bb16
1 files changed, 14 insertions, 2 deletions
diff --git a/meta/recipes-devtools/valgrind/valgrind_3.16.1.bb b/meta/recipes-devtools/valgrind/valgrind_3.16.1.bb
index 484a229a1a..d4ca1a7752 100644
--- a/meta/recipes-devtools/valgrind/valgrind_3.16.1.bb
+++ b/meta/recipes-devtools/valgrind/valgrind_3.16.1.bb
@@ -36,7 +36,7 @@ SRC_URI = "https://sourceware.org/pub/valgrind/valgrind-${PV}.tar.bz2 \
36 file://0001-Make-local-functions-static-to-avoid-assembler-error.patch \ 36 file://0001-Make-local-functions-static-to-avoid-assembler-error.patch \
37 file://0001-Return-a-valid-exit_code-from-vg_regtest.patch \ 37 file://0001-Return-a-valid-exit_code-from-vg_regtest.patch \
38 file://0001-valgrind-filter_xml_frames-do-not-filter-usr.patch \ 38 file://0001-valgrind-filter_xml_frames-do-not-filter-usr.patch \
39 file://0001-adjust-path-filter-for-2-memcheck-tests.patch \ 39 file://0001-memcheck-vgtests-remove-fullpath-after-flags.patch \
40 file://s390x_vec_op_t.patch \ 40 file://s390x_vec_op_t.patch \
41 file://0001-none-tests-fdleak_cmsg.stderr.exp-adjust-tmp-paths.patch \ 41 file://0001-none-tests-fdleak_cmsg.stderr.exp-adjust-tmp-paths.patch \
42 file://0001-memcheck-tests-Fix-timerfd-syscall-test.patch \ 42 file://0001-memcheck-tests-Fix-timerfd-syscall-test.patch \
@@ -47,6 +47,17 @@ UPSTREAM_CHECK_REGEX = "valgrind-(?P<pver>\d+(\.\d+)+)\.tar"
47 47
48COMPATIBLE_HOST = '(i.86|x86_64|arm|aarch64|mips|powerpc|powerpc64).*-linux' 48COMPATIBLE_HOST = '(i.86|x86_64|arm|aarch64|mips|powerpc|powerpc64).*-linux'
49 49
50# patch 0001-memcheck-vgtests-remove-fullpath-after-flags.patch removes relative path
51# argument. Change expected stderr files accordingly.
52do_patch_append() {
53 bb.build.exec_func('do_sed_paths', d)
54}
55
56do_sed_paths() {
57 sed -i -e 's|tests/||' ${S}/memcheck/tests/badfree3.stderr.exp
58 sed -i -e 's|tests/||' ${S}/memcheck/tests/varinfo5.stderr.exp
59}
60
50# valgrind supports armv7 and above 61# valgrind supports armv7 and above
51COMPATIBLE_HOST_armv4 = 'null' 62COMPATIBLE_HOST_armv4 = 'null'
52COMPATIBLE_HOST_armv5 = 'null' 63COMPATIBLE_HOST_armv5 = 'null'
@@ -118,7 +129,8 @@ RRECOMMENDS_${PN} += "${TCLIBC}-dbg"
118RDEPENDS_${PN}-ptest += " bash coreutils file \ 129RDEPENDS_${PN}-ptest += " bash coreutils file \
119 gdb libgomp \ 130 gdb libgomp \
120 perl \ 131 perl \
121 perl-module-getopt-long perl-module-file-basename perl-module-file-glob \ 132 perl-module-file-basename perl-module-file-glob perl-module-getopt-long \
133 perl-module-overloading \
122 procps sed ${PN}-dbg ${PN}-src" 134 procps sed ${PN}-dbg ${PN}-src"
123RDEPENDS_${PN}-ptest_append_libc-glibc = " glibc-utils" 135RDEPENDS_${PN}-ptest_append_libc-glibc = " glibc-utils"
124 136