python3-py-cpuinfo: fix ptests
PATCH 1/1 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 <[email protected]>
--- meta-python/recipes-devtools/python/python3-py-cpuinfo_8.0.0.bb | 1 + 1 file changed, 1 insertion(+)
meta-python/recipes-devtools/python/python3-py-cpuinfo_8.0.0.bb +1 -0
@@ -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 += "\