summaryrefslogtreecommitdiffstats
path: root/meta-python
diff options
context:
space:
mode:
authorGyorgy Sarvari <skandigraun@gmail.com>2025-10-23 22:56:57 +0200
committerGyorgy Sarvari <skandigraun@gmail.com>2025-10-27 11:17:36 +0100
commita943a21152390dcd7c89290951b1781413cc0f1e (patch)
tree7b7512779ef20ebe193fceba93c5ccac017ad9e7 /meta-python
parentd342d283b392f72c50caa8b7b5fe53c512b4061f (diff)
downloadmeta-openembedded-a943a21152390dcd7c89290951b1781413cc0f1e.tar.gz
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>
Diffstat (limited to 'meta-python')
-rw-r--r--meta-python/recipes-devtools/python/python3-py-cpuinfo_8.0.0.bb1
1 files changed, 1 insertions, 0 deletions
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 \
16do_install_ptest() { 16do_install_ptest() {
17 install -d ${D}${PTEST_PATH}/tests 17 install -d ${D}${PTEST_PATH}/tests
18 cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ 18 cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
19 cp -rf ${D}${PYTHON_SITEPACKAGES_DIR}/cpuinfo ${D}${PTEST_PATH}/
19} 20}
20 21
21RDEPENDS:${PN}-ptest += "\ 22RDEPENDS:${PN}-ptest += "\