mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-01-07 01:36:25 +01:00
python3-ordered-set: update recipe to use the ptest-python-pytest class
Signed-off-by: Derek Straka <derek@asterius.io> Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
parent
85b9417641
commit
d0570e05a8
|
|
@ -1,3 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
pytest --automake test_ordered_set.py
|
||||
|
|
@ -5,19 +5,9 @@ LIC_FILES_CHKSUM = "file://MIT-LICENSE;md5=3bf5e1ad64c0d99032c3143361fa234e"
|
|||
|
||||
SRC_URI[sha256sum] = "694a8e44c87657c59292ede72891eb91d34131f6531463aab3009191c77364a8"
|
||||
|
||||
inherit pypi python_flit_core ptest
|
||||
inherit pypi python_flit_core ptest-python-pytest
|
||||
|
||||
PTEST_PYTEST_DIR = "test"
|
||||
|
||||
DEPENDS += "python3-pytest-runner-native"
|
||||
|
||||
SRC_URI += " \
|
||||
file://run-ptest \
|
||||
"
|
||||
|
||||
RDEPENDS:${PN}-ptest += " \
|
||||
python3-pytest \
|
||||
python3-unittest-automake-output \
|
||||
"
|
||||
|
||||
do_install_ptest() {
|
||||
cp -f ${S}/test/test_ordered_set.py ${D}${PTEST_PATH}/
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user