| Message ID | 20251023205657.804799-1-skandigraun@gmail.com |
|---|---|
| State | New |
| Headers | show |
| Series | [meta-python,kirkstone] python3-py-cpuinfo: fix ptests | expand |
diff --git a/meta-python/recipes-devtools/python/python3-py-cpuinfo_8.0.0.bb b/meta-python/recipes-devtools/python/python3-py-cpuinfo_8.0.0.bb index 6de2f17459..1cb33edf30 100644 --- a/meta-python/recipes-devtools/python/python3-py-cpuinfo_8.0.0.bb +++ b/meta-python/recipes-devtools/python/python3-py-cpuinfo_8.0.0.bb @@ -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 += "\
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> --- meta-python/recipes-devtools/python/python3-py-cpuinfo_8.0.0.bb | 1 + 1 file changed, 1 insertion(+)