diff options
| author | Gyorgy Sarvari <skandigraun@gmail.com> | 2025-10-23 22:56:57 +0200 |
|---|---|---|
| committer | Gyorgy Sarvari <skandigraun@gmail.com> | 2025-10-27 11:17:36 +0100 |
| commit | a943a21152390dcd7c89290951b1781413cc0f1e (patch) | |
| tree | 7b7512779ef20ebe193fceba93c5ccac017ad9e7 /meta-python | |
| parent | d342d283b392f72c50caa8b7b5fe53c512b4061f (diff) | |
| download | meta-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.bb | 1 |
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 \ | |||
| 16 | do_install_ptest() { | 16 | do_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 | ||
| 21 | RDEPENDS:${PN}-ptest += "\ | 22 | RDEPENDS:${PN}-ptest += "\ |
