diff options
author | Khem Raj <raj.khem@gmail.com> | 2024-04-11 23:26:44 -0700 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2024-04-11 23:32:36 -0700 |
commit | 51b38953a6e7f2769b5f4ac021f55299f3c68b99 (patch) | |
tree | 7c5a1a63e93095be1c1e2d65fa27d990359df0ed /meta-oe | |
parent | df35bef3ae6411900efdfc3ea5ade23820e9af2f (diff) | |
download | meta-openembedded-contrib-51b38953a6e7f2769b5f4ac021f55299f3c68b99.tar.gz |
oprofile: Fix failing ptests
Files need to be in right directory structure
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe')
-rw-r--r-- | meta-oe/recipes-kernel/oprofile/oprofile_1.4.0.bb | 9 |
1 files 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}" |