oprofile: Fix failing ptests
PATCH 1/2 oprofile: Fix failing ptests
Files need to be in right directory structure
Signed-off-by Khem Raj <[email protected]>
--- meta-oe/recipes-kernel/oprofile/oprofile_1.4.0.bb | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-)
meta-oe/recipes-kernel/oprofile/oprofile_1.4.0.bb +6 -3
@@ -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}"
Signature · 1 line
2.44.0
PATCH 2/2 ptest-packagelists-meta-oe: jemalloc and oprofile are passing now
Move them into PTESTS_FAST_META_OE
Signed-off-by Khem Raj <[email protected]>
--- meta-oe/conf/include/ptest-packagelists-meta-oe.inc | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-)
meta-oe/conf/include/ptest-packagelists-meta-oe.inc +4 -7
@@ -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"
Signature · 1 line
2.44.0