python3-aspectlib: Add ptests

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
This commit is contained in:
Khem Raj
2021-06-22 20:26:20 -07:00
parent 13fadb1d03
commit 0b19534f5e
3 changed files with 63 additions and 1 deletions

View File

@@ -8,7 +8,21 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=d58b3f20fd10347a9458b8a03793b62e"
SRC_URI[sha256sum] = "d275ec82c4c2712e564bb760e4accff8f061f648e38774feabeb8b241cf3a4aa"
inherit pypi setuptools3
inherit ptest pypi setuptools3
SRC_URI += "file://run-ptest \
file://0001-Remove-tornado-6-test-constraint.-Ref-15.patch \
"
do_install_ptest() {
install -d ${D}${PTEST_PATH}/tests
cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
}
RDEPENDS_${PN}-ptest += "\
python3-tornado \
python3-process-tests \
"
RDEPENDS_${PN} += "python3-core python3-fields"