summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/valgrind
diff options
context:
space:
mode:
authorRandy MacLeod <Randy.MacLeod@windriver.com>2024-02-12 14:05:01 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2024-02-15 21:30:14 +0000
commit00c328db4d882bd43e2c258f55c92a7d63b5beb4 (patch)
tree8a35e661df361958fb8adeb31f78c20af9ce0964 /meta/recipes-devtools/valgrind
parent04625c92a12800b36df564247644c2e821793d98 (diff)
downloadpoky-00c328db4d882bd43e2c258f55c92a7d63b5beb4.tar.gz
valgrind: skip 14 ptests in 3.22
Sort the ptest depenencies into a somewhat alpahbetical order. Add python3-compile for ptests. Add softlinks for cachegrind to eliminate a warning seen in those tests. The folowing tests fail after the 3.22 update: memcheck/tests/linux/dlclose_leak-no-keep memcheck/tests/linux/dlclose_leak memcheck/tests/wrap1 memcheck/tests/wrap2 ... memcheck/tests/wrap8 cachegrind/tests/wrap5 massif/tests/bug469146 massif/tests/new-cpp massif/tests/overloaded-new Omit these tests until they are fixed. Tracked by: https://bugzilla.yoctoproject.org/show_bug.cgi?id=15399 === Test Summary === TOTAL: 778 PASSED: 759 FAILED: 0 SKIPPED: 19 (From OE-Core rev: 8203bfac493226c26f0d6db0f653868605433b6f) Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/valgrind')
-rw-r--r--meta/recipes-devtools/valgrind/valgrind/remove-for-all14
-rw-r--r--meta/recipes-devtools/valgrind/valgrind_3.22.0.bb14
2 files changed, 26 insertions, 2 deletions
diff --git a/meta/recipes-devtools/valgrind/valgrind/remove-for-all b/meta/recipes-devtools/valgrind/valgrind/remove-for-all
index e26088f3b1..004589a7ea 100644
--- a/meta/recipes-devtools/valgrind/valgrind/remove-for-all
+++ b/meta/recipes-devtools/valgrind/valgrind/remove-for-all
@@ -1,6 +1,17 @@
1cachegrind/tests/wrap5
1none/tests/amd64/fb_test_amd64 2none/tests/amd64/fb_test_amd64
2gdbserver_tests/hginfo 3gdbserver_tests/hginfo
4memcheck/tests/linux/dlclose_leak-no-keep
5memcheck/tests/linux/dlclose_leak
3memcheck/tests/supp_unknown 6memcheck/tests/supp_unknown
7memcheck/tests/wrap1
8memcheck/tests/wrap2
9memcheck/tests/wrap3
10memcheck/tests/wrap4
11memcheck/tests/wrap5
12memcheck/tests/wrap6
13memcheck/tests/wrap7
14memcheck/tests/wrap8
4helgrind/tests/tls_threads 15helgrind/tests/tls_threads
5helgrind/tests/pth_mempcpy_false_races 16helgrind/tests/pth_mempcpy_false_races
6drd/tests/bar_bad 17drd/tests/bar_bad
@@ -9,3 +20,6 @@ drd/tests/pth_barrier_thr_cr
9drd/tests/std_thread2 20drd/tests/std_thread2
10drd/tests/thread_name_xml 21drd/tests/thread_name_xml
11massif/tests/deep-D 22massif/tests/deep-D
23massif/tests/bug469146
24massif/tests/new-cpp
25massif/tests/overloaded-new
diff --git a/meta/recipes-devtools/valgrind/valgrind_3.22.0.bb b/meta/recipes-devtools/valgrind/valgrind_3.22.0.bb
index dc00edb24e..74ac7ec9d5 100644
--- a/meta/recipes-devtools/valgrind/valgrind_3.22.0.bb
+++ b/meta/recipes-devtools/valgrind/valgrind_3.22.0.bb
@@ -129,13 +129,18 @@ INHIBIT_PACKAGE_STRIP_FILES = "${PKGD}${libexecdir}/valgrind/vgpreload_memcheck-
129RRECOMMENDS:${PN} += "${TCLIBC}-dbg" 129RRECOMMENDS:${PN} += "${TCLIBC}-dbg"
130 130
131RDEPENDS:${PN}-ptest += " bash coreutils curl file \ 131RDEPENDS:${PN}-ptest += " bash coreutils curl file \
132 gdb libgomp \ 132 gdb \
133 ${TCLIBC}-src gcc-runtime-dbg \
134 libgomp \
133 perl \ 135 perl \
134 perl-module-file-basename perl-module-file-glob perl-module-getopt-long \ 136 perl-module-file-basename perl-module-file-glob perl-module-getopt-long \
135 perl-module-overloading perl-module-cwd perl-module-ipc-open3 \ 137 perl-module-overloading perl-module-cwd perl-module-ipc-open3 \
136 perl-module-carp perl-module-symbol \ 138 perl-module-carp perl-module-symbol \
137 procps sed ${PN}-dbg ${PN}-src ${TCLIBC}-src gcc-runtime-dbg \ 139 procps \
140 python3-compile \
141 sed \
138 util-linux-taskset \ 142 util-linux-taskset \
143 ${PN}-dbg ${PN}-src \
139 ${PN}-cachegrind ${PN}-massif ${PN}-callgrind \ 144 ${PN}-cachegrind ${PN}-massif ${PN}-callgrind \
140" 145"
141RDEPENDS:${PN}-ptest:append:libc-glibc = " glibc-utils glibc-gconv-utf-32" 146RDEPENDS:${PN}-ptest:append:libc-glibc = " glibc-utils glibc-gconv-utf-32"
@@ -225,6 +230,11 @@ do_install_ptest() {
225 sed -i s:@libexecdir@:${libexecdir}:g ${D}${PTEST_PATH}/run-ptest 230 sed -i s:@libexecdir@:${libexecdir}:g ${D}${PTEST_PATH}/run-ptest
226 sed -i s:@bindir@:${bindir}:g ${D}${PTEST_PATH}/run-ptest 231 sed -i s:@bindir@:${bindir}:g ${D}${PTEST_PATH}/run-ptest
227 232
233 # enable cachegrind ptests
234 ln -s ${bindir}/cg_annotate ${D}/${PTEST_PATH}/cachegrind/cg_annotate
235 ln -s ${bindir}/cg_diff ${D}/${PTEST_PATH}/cachegrind/cg_diff
236 ln -s ${bindir}/cg_merge ${D}/${PTEST_PATH}/cachegrind/cg_merge
237
228 # This test fails on the host as well, using both 3.15 and git master (as of Jan 24 2020) 238 # This test fails on the host as well, using both 3.15 and git master (as of Jan 24 2020)
229 # https://bugs.kde.org/show_bug.cgi?id=402833 239 # https://bugs.kde.org/show_bug.cgi?id=402833
230 rm ${D}${PTEST_PATH}/memcheck/tests/overlap.vgtest 240 rm ${D}${PTEST_PATH}/memcheck/tests/overlap.vgtest