mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2025-12-14 06:16:04 +01:00
python3-lz4: add ptest
Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
This commit is contained in:
parent
1adfa91ddb
commit
f42408bafc
|
|
@ -0,0 +1,3 @@
|
|||
#!/bin/sh
|
||||
|
||||
pytest -v
|
||||
|
|
@ -9,8 +9,18 @@ DEPENDS += " \
|
|||
${PYTHON_PN}-pkgconfig-native \
|
||||
"
|
||||
|
||||
SRC_URI += "file://run-ptest"
|
||||
|
||||
SRC_URI[sha256sum] = "57c5dfd3b7dae833b0d2b2c1aafd7f9d0dfcab40683d183d010c67c9fd1beca3"
|
||||
|
||||
inherit pkgconfig pypi python_setuptools_build_meta
|
||||
inherit pkgconfig pypi python_setuptools_build_meta ptest
|
||||
|
||||
RDEPENDS:${PN}-ptest += "${PYTHON_PN}-pytest ${PYTHON_PN}-multiprocessing ${PYTHON_PN}-psutil"
|
||||
|
||||
do_install_ptest() {
|
||||
cp -rf ${S}/tests/ ${D}${PTEST_PATH}/
|
||||
# The stream API is experimental and not enabled yet, so don't ship the test suite
|
||||
rm -rf ${D}${PTEST_PATH}/tests/stream
|
||||
}
|
||||
|
||||
BBCLASSEXTEND = "native nativesdk"
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user