mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2025-12-15 23:05:34 +01:00
python3-jsonpointer: Enable ptest
Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
parent
139b83eec2
commit
e6fed1c1ed
|
|
@ -3,7 +3,7 @@ HOMEPAGE = "https://github.com/stefankoegl/python-json-pointer"
|
|||
LICENSE = "BSD-3-Clause"
|
||||
LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=32b15c843b7a329130f4e266a281ebb3"
|
||||
|
||||
inherit pypi
|
||||
inherit pypi ptest
|
||||
|
||||
SRC_URI[md5sum] = "741b98d0e693b08b5e44e0a9da5a7bb7"
|
||||
SRC_URI[sha256sum] = "c192ba86648e05fdae4f08a17ec25180a9aef5008d973407b581798a83975362"
|
||||
|
|
@ -13,3 +13,15 @@ RDEPENDS_${PN} += " \
|
|||
"
|
||||
|
||||
BBCLASSEXTEND = "native nativesdk"
|
||||
|
||||
SRC_URI += " \
|
||||
file://run-ptest \
|
||||
"
|
||||
|
||||
RDEPENDS_${PN}-ptest += " \
|
||||
${PYTHON_PN}-pytest \
|
||||
"
|
||||
|
||||
do_install_ptest() {
|
||||
cp -f ${S}/tests.py ${D}${PTEST_PATH}/
|
||||
}
|
||||
|
|
|
|||
|
|
@ -0,0 +1,3 @@
|
|||
#!/bin/sh
|
||||
|
||||
python3 tests.py
|
||||
Loading…
Reference in New Issue
Block a user