diff options
author | Randy MacLeod <Randy.MacLeod@windriver.com> | 2024-02-12 14:05:01 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-02-15 21:30:14 +0000 |
commit | 00c328db4d882bd43e2c258f55c92a7d63b5beb4 (patch) | |
tree | 8a35e661df361958fb8adeb31f78c20af9ce0964 /meta/recipes-devtools/valgrind | |
parent | 04625c92a12800b36df564247644c2e821793d98 (diff) | |
download | poky-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-all | 14 | ||||
-rw-r--r-- | meta/recipes-devtools/valgrind/valgrind_3.22.0.bb | 14 |
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 @@ | |||
1 | cachegrind/tests/wrap5 | ||
1 | none/tests/amd64/fb_test_amd64 | 2 | none/tests/amd64/fb_test_amd64 |
2 | gdbserver_tests/hginfo | 3 | gdbserver_tests/hginfo |
4 | memcheck/tests/linux/dlclose_leak-no-keep | ||
5 | memcheck/tests/linux/dlclose_leak | ||
3 | memcheck/tests/supp_unknown | 6 | memcheck/tests/supp_unknown |
7 | memcheck/tests/wrap1 | ||
8 | memcheck/tests/wrap2 | ||
9 | memcheck/tests/wrap3 | ||
10 | memcheck/tests/wrap4 | ||
11 | memcheck/tests/wrap5 | ||
12 | memcheck/tests/wrap6 | ||
13 | memcheck/tests/wrap7 | ||
14 | memcheck/tests/wrap8 | ||
4 | helgrind/tests/tls_threads | 15 | helgrind/tests/tls_threads |
5 | helgrind/tests/pth_mempcpy_false_races | 16 | helgrind/tests/pth_mempcpy_false_races |
6 | drd/tests/bar_bad | 17 | drd/tests/bar_bad |
@@ -9,3 +20,6 @@ drd/tests/pth_barrier_thr_cr | |||
9 | drd/tests/std_thread2 | 20 | drd/tests/std_thread2 |
10 | drd/tests/thread_name_xml | 21 | drd/tests/thread_name_xml |
11 | massif/tests/deep-D | 22 | massif/tests/deep-D |
23 | massif/tests/bug469146 | ||
24 | massif/tests/new-cpp | ||
25 | massif/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- | |||
129 | RRECOMMENDS:${PN} += "${TCLIBC}-dbg" | 129 | RRECOMMENDS:${PN} += "${TCLIBC}-dbg" |
130 | 130 | ||
131 | RDEPENDS:${PN}-ptest += " bash coreutils curl file \ | 131 | RDEPENDS:${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 | " |
141 | RDEPENDS:${PN}-ptest:append:libc-glibc = " glibc-utils glibc-gconv-utf-32" | 146 | RDEPENDS:${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 |