diff options
| author | Ross Burton <ross.burton@arm.com> | 2023-03-21 12:37:45 +0000 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-03-21 22:42:05 +0000 |
| commit | 10cde1b2ad1da907301245696520eab8b86e204f (patch) | |
| tree | 559ba3a7542abf5278ed00bd63ab2ddbbee076e4 /meta/recipes-devtools/python/python3-jsonpointer_2.3.bb | |
| parent | bd446d8207e7d33d5628bf6a03bd729121207dd0 (diff) | |
| download | poky-10cde1b2ad1da907301245696520eab8b86e204f.tar.gz | |
python3-jsonpointer: rewrite testing
The tests installed by jsonpointer use unittest not pytest, so update
the dependencies.
Use the unittest runner in python3-unittest-automake-output to get the
correct output.
Apply a patch so the test suite doesn't run twice.
(From OE-Core rev: 595086756c6f24762e08cde9f9ed3e1056976d98)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/python/python3-jsonpointer_2.3.bb')
| -rw-r--r-- | meta/recipes-devtools/python/python3-jsonpointer_2.3.bb | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/meta/recipes-devtools/python/python3-jsonpointer_2.3.bb b/meta/recipes-devtools/python/python3-jsonpointer_2.3.bb index 16d5cab4cf..0ec4de055c 100644 --- a/meta/recipes-devtools/python/python3-jsonpointer_2.3.bb +++ b/meta/recipes-devtools/python/python3-jsonpointer_2.3.bb | |||
| @@ -5,6 +5,8 @@ LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=32b15c843b7a329130f4e266a281ebb3" | |||
| 5 | 5 | ||
| 6 | inherit pypi ptest setuptools3 | 6 | inherit pypi ptest setuptools3 |
| 7 | 7 | ||
| 8 | SRC_URI += "file://0001-Clean-up-test-runner.patch" | ||
| 9 | |||
| 8 | SRC_URI[sha256sum] = "97cba51526c829282218feb99dab1b1e6bdf8efd1c43dc9d57be093c0d69c99a" | 10 | SRC_URI[sha256sum] = "97cba51526c829282218feb99dab1b1e6bdf8efd1c43dc9d57be093c0d69c99a" |
| 9 | 11 | ||
| 10 | RDEPENDS:${PN} += " \ | 12 | RDEPENDS:${PN} += " \ |
| @@ -18,7 +20,9 @@ SRC_URI += " \ | |||
| 18 | " | 20 | " |
| 19 | 21 | ||
| 20 | RDEPENDS:${PN}-ptest += " \ | 22 | RDEPENDS:${PN}-ptest += " \ |
| 21 | ${PYTHON_PN}-pytest \ | 23 | ${PYTHON_PN}-doctest \ |
| 24 | ${PYTHON_PN}-unittest \ | ||
| 25 | ${PYTHON_PN}-unittest-automake-output \ | ||
| 22 | " | 26 | " |
| 23 | 27 | ||
| 24 | do_install_ptest() { | 28 | do_install_ptest() { |
