python3-py-cpuinfo: fix ptests

The tests require the library to be present in the folder of test execution,
otherwise many of them fail.

Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
This commit is contained in:
Gyorgy Sarvari
2025-10-23 22:56:57 +02:00
parent d342d283b3
commit a943a21152
@@ -16,6 +16,7 @@ SRC_URI += "file://run-ptest \
do_install_ptest() {
install -d ${D}${PTEST_PATH}/tests
cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
cp -rf ${D}${PYTHON_SITEPACKAGES_DIR}/cpuinfo ${D}${PTEST_PATH}/
}
RDEPENDS:${PN}-ptest += "\