* [meta-oe][PATCH 1/2] oprofile: Fix failing ptests
@ 2024-04-12 6:31 Khem Raj
2024-04-12 6:31 ` [meta-oe][PATCH 2/2] ptest-packagelists-meta-oe: jemalloc and oprofile are passing now Khem Raj
0 siblings, 1 reply; 2+ messages in thread
From: Khem Raj @ 2024-04-12 6:31 UTC (permalink / raw)
To: openembedded-devel; +Cc: Khem Raj
Files need to be in right directory structure
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
meta-oe/recipes-kernel/oprofile/oprofile_1.4.0.bb | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/meta-oe/recipes-kernel/oprofile/oprofile_1.4.0.bb b/meta-oe/recipes-kernel/oprofile/oprofile_1.4.0.bb
index 335ab48bb2..092d22746a 100644
--- a/meta-oe/recipes-kernel/oprofile/oprofile_1.4.0.bb
+++ b/meta-oe/recipes-kernel/oprofile/oprofile_1.4.0.bb
@@ -58,16 +58,18 @@ do_install_ptest() {
find ${tooltest} -perm /u=x -type f| cpio -pvdu ${D}${PTEST_PATH}
done
- # needed by some libop tests
- cp -r events ${D}${PTEST_PATH}
-
+ install -d ${D}${PTEST_PATH}/../${BP}/events ${D}${PTEST_PATH}/../${BP}/libutil++/tests
# needed by libregex regex_test
cp libregex/stl.pat ${D}${PTEST_PATH}/libregex
cp libregex/tests/mangled-name ${D}${PTEST_PATH}/libregex/tests
# needed by litutil++ file_manip_tests
+ cp ${S}/libutil++/tests/file_manip_tests.cpp \
+ libutil++/tests/file_manip_tests.o ${D}${PTEST_PATH}/../${BP}/libutil++/tests
cp ${S}/libutil++/tests/file_manip_tests.cpp \
libutil++/tests/file_manip_tests.o ${D}${PTEST_PATH}/libutil++/tests
+ # needed by some libop tests
+ cp -R --no-dereference --preserve=mode,links -v ${S}/events ${D}${PTEST_PATH}/../${BP}
}
RDEPENDS:${PN} = "binutils-symlinks"
@@ -75,3 +77,4 @@ RDEPENDS:${PN} = "binutils-symlinks"
FILES:${PN} = "${bindir} ${libdir}/${BPN}/lib*${SOLIBS} ${datadir}/${BPN}"
FILES:${PN}-dev += "${libdir}/${BPN}/lib*${SOLIBSDEV} ${libdir}/${BPN}/lib*.la"
FILES:${PN}-staticdev += "${libdir}/${BPN}/lib*.a"
+FILES:${PN}-ptest += "${libdir}/${BPN}/${BP}"
--
2.44.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [meta-oe][PATCH 2/2] ptest-packagelists-meta-oe: jemalloc and oprofile are passing now
2024-04-12 6:31 [meta-oe][PATCH 1/2] oprofile: Fix failing ptests Khem Raj
@ 2024-04-12 6:31 ` Khem Raj
0 siblings, 0 replies; 2+ messages in thread
From: Khem Raj @ 2024-04-12 6:31 UTC (permalink / raw)
To: openembedded-devel; +Cc: Khem Raj
Move them into PTESTS_FAST_META_OE
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
meta-oe/conf/include/ptest-packagelists-meta-oe.inc | 11 ++++-------
1 file changed, 4 insertions(+), 7 deletions(-)
diff --git a/meta-oe/conf/include/ptest-packagelists-meta-oe.inc b/meta-oe/conf/include/ptest-packagelists-meta-oe.inc
index 48f3412b7a..f5c7b9b719 100644
--- a/meta-oe/conf/include/ptest-packagelists-meta-oe.inc
+++ b/meta-oe/conf/include/ptest-packagelists-meta-oe.inc
@@ -13,6 +13,7 @@ PTESTS_FAST_META_OE = "\
function2 \
fwupd \
gcab \
+ jemalloc \
jq \
leveldb \
libcereal \
@@ -32,6 +33,7 @@ PTESTS_FAST_META_OE = "\
nlohmann-json \
nodejs \
onig \
+ oprofile \
protobuf \
sdbus-c++ \
uthash \
@@ -43,8 +45,8 @@ PTESTS_FAST_META_OE:append:x86 = " mcelog"
PTESTS_FAST_META_OE:append:x86-64 = " mcelog"
PTESTS_FAST_META_OE:remove:libc-musl = "minicoredumper"
-PTESTS_FAST_META_OE:remove:riscv64 = "nodejs"
-PTESTS_FAST_META_OE:remove:riscv32 = "nodejs"
+PTESTS_FAST_META_OE:remove:riscv64 = "nodejs oprofile"
+PTESTS_FAST_META_OE:remove:riscv32 = "nodejs oprofile"
PTESTS_SLOW_META_OE = "\
c-ares \
@@ -60,16 +62,11 @@ PTESTS_SLOW_META_OE:append:x86-64 = " kernel-selftest"
PTESTS_SLOW_META_OE:remove:libc-musl = "kernel-selftest"
PTESTS_PROBLEMS_META_OE ="\
- jemalloc \
keyutils \
libdbi-perl \
libjcat \
libteam \
- oprofile \
ostree \
psqlodbc \
pv \
"
-
-PTESTS_PROBLEMS_META_OE:remove:riscv64 = "oprofile"
-PTESTS_PROBLEMS_META_OE:remove:riscv32 = "oprofile"
--
2.44.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-04-12 6:31 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-04-12 6:31 [meta-oe][PATCH 1/2] oprofile: Fix failing ptests Khem Raj
2024-04-12 6:31 ` [meta-oe][PATCH 2/2] ptest-packagelists-meta-oe: jemalloc and oprofile are passing now Khem Raj
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.