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>
This commit is contained in:
Randy MacLeod
2024-02-12 14:05:01 -08:00
committed by Richard Purdie
parent 04625c92a1
commit 00c328db4d
2 changed files with 26 additions and 2 deletions

View File

@@ -1,6 +1,17 @@
cachegrind/tests/wrap5
none/tests/amd64/fb_test_amd64
gdbserver_tests/hginfo
memcheck/tests/linux/dlclose_leak-no-keep
memcheck/tests/linux/dlclose_leak
memcheck/tests/supp_unknown
memcheck/tests/wrap1
memcheck/tests/wrap2
memcheck/tests/wrap3
memcheck/tests/wrap4
memcheck/tests/wrap5
memcheck/tests/wrap6
memcheck/tests/wrap7
memcheck/tests/wrap8
helgrind/tests/tls_threads
helgrind/tests/pth_mempcpy_false_races
drd/tests/bar_bad
@@ -9,3 +20,6 @@ drd/tests/pth_barrier_thr_cr
drd/tests/std_thread2
drd/tests/thread_name_xml
massif/tests/deep-D
massif/tests/bug469146
massif/tests/new-cpp
massif/tests/overloaded-new

View File

@@ -129,13 +129,18 @@ INHIBIT_PACKAGE_STRIP_FILES = "${PKGD}${libexecdir}/valgrind/vgpreload_memcheck-
RRECOMMENDS:${PN} += "${TCLIBC}-dbg"
RDEPENDS:${PN}-ptest += " bash coreutils curl file \
gdb libgomp \
gdb \
${TCLIBC}-src gcc-runtime-dbg \
libgomp \
perl \
perl-module-file-basename perl-module-file-glob perl-module-getopt-long \
perl-module-overloading perl-module-cwd perl-module-ipc-open3 \
perl-module-carp perl-module-symbol \
procps sed ${PN}-dbg ${PN}-src ${TCLIBC}-src gcc-runtime-dbg \
procps \
python3-compile \
sed \
util-linux-taskset \
${PN}-dbg ${PN}-src \
${PN}-cachegrind ${PN}-massif ${PN}-callgrind \
"
RDEPENDS:${PN}-ptest:append:libc-glibc = " glibc-utils glibc-gconv-utf-32"
@@ -225,6 +230,11 @@ do_install_ptest() {
sed -i s:@libexecdir@:${libexecdir}:g ${D}${PTEST_PATH}/run-ptest
sed -i s:@bindir@:${bindir}:g ${D}${PTEST_PATH}/run-ptest
# enable cachegrind ptests
ln -s ${bindir}/cg_annotate ${D}/${PTEST_PATH}/cachegrind/cg_annotate
ln -s ${bindir}/cg_diff ${D}/${PTEST_PATH}/cachegrind/cg_diff
ln -s ${bindir}/cg_merge ${D}/${PTEST_PATH}/cachegrind/cg_merge
# This test fails on the host as well, using both 3.15 and git master (as of Jan 24 2020)
# https://bugs.kde.org/show_bug.cgi?id=402833
rm ${D}${PTEST_PATH}/memcheck/tests/overlap.vgtest