mirror of
https://git.yoctoproject.org/poky
synced 2026-02-05 16:28:43 +01:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
bd446d8207
commit
10cde1b2ad
@@ -5,6 +5,8 @@ LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=32b15c843b7a329130f4e266a281ebb3"
|
||||
|
||||
inherit pypi ptest setuptools3
|
||||
|
||||
SRC_URI += "file://0001-Clean-up-test-runner.patch"
|
||||
|
||||
SRC_URI[sha256sum] = "97cba51526c829282218feb99dab1b1e6bdf8efd1c43dc9d57be093c0d69c99a"
|
||||
|
||||
RDEPENDS:${PN} += " \
|
||||
@@ -18,7 +20,9 @@ SRC_URI += " \
|
||||
"
|
||||
|
||||
RDEPENDS:${PN}-ptest += " \
|
||||
${PYTHON_PN}-pytest \
|
||||
${PYTHON_PN}-doctest \
|
||||
${PYTHON_PN}-unittest \
|
||||
${PYTHON_PN}-unittest-automake-output \
|
||||
"
|
||||
|
||||
do_install_ptest() {
|
||||
|
||||
Reference in New Issue
Block a user