diff options
| author | Gyorgy Sarvari <skandigraun@gmail.com> | 2025-10-23 23:29:01 +0200 |
|---|---|---|
| committer | Gyorgy Sarvari <skandigraun@gmail.com> | 2025-10-27 11:17:43 +0100 |
| commit | 5c7400ca760ff32b2c7b1ca939e5a68e7b4411c9 (patch) | |
| tree | d106f0e3760ebc85900b7eb2ecabce5271e9034c /meta-python/recipes-devtools/python/python3-pint_0.19.1.bb | |
| parent | 1ff49e5d780c0d78a9c7062739f9ec7c27214769 (diff) | |
| download | meta-openembedded-5c7400ca760ff32b2c7b1ca939e5a68e7b4411c9.tar.gz | |
python3-pint: fix ptests
1. Add missing ptest dependency (pytest-subtest)
2. The testsuite is installed in both the site-packages and ${PTEST_PATH}
folders, however some dependencies are only available in the site-packages
folder, so many test cases fail.
At this point of the branch lifecycle I decided not to refactor the recipe, but
rather to just use the installation in the site-packages dir to run the
tests (switch to that folder in the run-ptest script)
3. Fix the run-ptest script to output PASS/FAIL status.
Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-pint_0.19.1.bb')
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-pint_0.19.1.bb | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/meta-python/recipes-devtools/python/python3-pint_0.19.1.bb b/meta-python/recipes-devtools/python/python3-pint_0.19.1.bb index e1c471e064..4402908a35 100644 --- a/meta-python/recipes-devtools/python/python3-pint_0.19.1.bb +++ b/meta-python/recipes-devtools/python/python3-pint_0.19.1.bb | |||
| @@ -27,9 +27,5 @@ RDEPENDS:${PN} += " \ | |||
| 27 | 27 | ||
| 28 | RDEPENDS:${PN}-ptest += " \ | 28 | RDEPENDS:${PN}-ptest += " \ |
| 29 | ${PYTHON_PN}-pytest \ | 29 | ${PYTHON_PN}-pytest \ |
| 30 | ${PYTHON_PN}-pytest-subtests \ | ||
| 30 | " | 31 | " |
| 31 | |||
| 32 | do_install_ptest() { | ||
| 33 | install -d ${D}${PTEST_PATH}/testsuite | ||
| 34 | cp -rf ${S}/pint/testsuite/* ${D}${PTEST_PATH}/testsuite/ | ||
| 35 | } | ||
