diff options
| author | Zang Ruochen <zangrc.fnst@cn.fujitsu.com> | 2020-04-11 08:42:04 +0800 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2020-04-10 17:48:39 -0700 |
| commit | d9131303dd420a106cf0b5c46809fa97eae3f7b2 (patch) | |
| tree | e6b1ea83aaf5cd38a5a25e09420c8c91fe2687e1 /meta-python/recipes-devtools/python/python3-pyserial_3.4.bb | |
| parent | c7a4fb91bd5ec41a6faefbb7a1251a82949ca8a9 (diff) | |
| download | meta-openembedded-d9131303dd420a106cf0b5c46809fa97eae3f7b2.tar.gz | |
python3-pyserial: Enable ptest
Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-pyserial_3.4.bb')
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-pyserial_3.4.bb | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/meta-python/recipes-devtools/python/python3-pyserial_3.4.bb b/meta-python/recipes-devtools/python/python3-pyserial_3.4.bb index eee8eb2d16..d65c9a88b8 100644 --- a/meta-python/recipes-devtools/python/python3-pyserial_3.4.bb +++ b/meta-python/recipes-devtools/python/python3-pyserial_3.4.bb | |||
| @@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=d476d94926db6e0008a5b3860d1f5c0d" | |||
| 5 | SRC_URI[md5sum] = "ed6183b15519a0ae96675e9c3330c69b" | 5 | SRC_URI[md5sum] = "ed6183b15519a0ae96675e9c3330c69b" |
| 6 | SRC_URI[sha256sum] = "6e2d401fdee0eab996cf734e67773a0143b932772ca8b42451440cfed942c627" | 6 | SRC_URI[sha256sum] = "6e2d401fdee0eab996cf734e67773a0143b932772ca8b42451440cfed942c627" |
| 7 | 7 | ||
| 8 | inherit pypi setuptools3 | 8 | inherit pypi setuptools3 ptest |
| 9 | 9 | ||
| 10 | do_install_append() { | 10 | do_install_append() { |
| 11 | rm -f ${D}${bindir}/miniterm.py | 11 | rm -f ${D}${bindir}/miniterm.py |
| @@ -47,3 +47,16 @@ RDEPENDS_${PN} = "\ | |||
| 47 | " | 47 | " |
| 48 | 48 | ||
| 49 | BBCLASSEXTEND = "native nativesdk" | 49 | BBCLASSEXTEND = "native nativesdk" |
| 50 | |||
| 51 | SRC_URI += " \ | ||
| 52 | file://run-ptest \ | ||
| 53 | " | ||
| 54 | |||
| 55 | RDEPENDS_${PN}-ptest += " \ | ||
| 56 | ${PYTHON_PN}-pytest \ | ||
| 57 | " | ||
| 58 | |||
| 59 | do_install_ptest() { | ||
| 60 | install -d ${D}${PTEST_PATH}/test | ||
| 61 | cp -rf ${S}/test/* ${D}${PTEST_PATH}/test/ | ||
| 62 | } | ||
