diff options
Diffstat (limited to 'meta/recipes-devtools/python/python3-pyyaml_6.0.1.bb')
| -rw-r--r-- | meta/recipes-devtools/python/python3-pyyaml_6.0.1.bb | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/meta/recipes-devtools/python/python3-pyyaml_6.0.1.bb b/meta/recipes-devtools/python/python3-pyyaml_6.0.1.bb index 102e2f2498..62be059df5 100644 --- a/meta/recipes-devtools/python/python3-pyyaml_6.0.1.bb +++ b/meta/recipes-devtools/python/python3-pyyaml_6.0.1.bb | |||
| @@ -20,4 +20,21 @@ RDEPENDS:${PN} += "\ | |||
| 20 | ${PYTHON_PN}-netclient \ | 20 | ${PYTHON_PN}-netclient \ |
| 21 | " | 21 | " |
| 22 | 22 | ||
| 23 | inherit ptest | ||
| 24 | SRC_URI += "\ | ||
| 25 | https://raw.githubusercontent.com/yaml/pyyaml/a98fd6088e81d7aca571220c966bbfe2ac43c335/tests/test_dump_load.py;name=test \ | ||
| 26 | file://run-ptest \ | ||
| 27 | " | ||
| 28 | SRC_URI[test.sha256sum] = "b6a8a2825d89fdc8aee226560f66b8196e872012a0ea7118cbef1a832359434a" | ||
| 29 | |||
| 30 | RDEPENDS:${PN}-ptest += " \ | ||
| 31 | ${PYTHON_PN}-pytest \ | ||
| 32 | ${PYTHON_PN}-unittest-automake-output \ | ||
| 33 | " | ||
| 34 | |||
| 35 | do_install_ptest() { | ||
| 36 | install -d ${D}${PTEST_PATH}/tests | ||
| 37 | cp -rf ${WORKDIR}/test_dump_load.py ${D}${PTEST_PATH}/tests/ | ||
| 38 | } | ||
| 39 | |||
| 23 | BBCLASSEXTEND = "native nativesdk" | 40 | BBCLASSEXTEND = "native nativesdk" |
