diff options
author | Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com> | 2020-04-11 22:12:07 +0800 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2020-04-10 23:49:16 -0700 |
commit | e4e5fa1b92b29489b8392ea46c100230ae9a2304 (patch) | |
tree | 942daf9e631f7cf2e220673e874a28aa81e86156 /meta-python/recipes-devtools/python/python-pyasn1.inc | |
parent | 355f3480b4c30b241bc767cbc3094435b904a4cd (diff) | |
download | meta-openembedded-e4e5fa1b92b29489b8392ea46c100230ae9a2304.tar.gz |
python3-pyasn1: Enable ptest
Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python-pyasn1.inc')
-rw-r--r-- | meta-python/recipes-devtools/python/python-pyasn1.inc | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python-pyasn1.inc b/meta-python/recipes-devtools/python/python-pyasn1.inc index d74c2fec69..d9557646a0 100644 --- a/meta-python/recipes-devtools/python/python-pyasn1.inc +++ b/meta-python/recipes-devtools/python/python-pyasn1.inc | |||
@@ -14,3 +14,18 @@ RDEPENDS_${PN}_class-target += " \ | |||
14 | " | 14 | " |
15 | 15 | ||
16 | BBCLASSEXTEND = "native nativesdk" | 16 | BBCLASSEXTEND = "native nativesdk" |
17 | |||
18 | inherit ptest | ||
19 | |||
20 | SRC_URI += " \ | ||
21 | file://run-ptest \ | ||
22 | " | ||
23 | |||
24 | RDEPENDS_${PN}-ptest += " \ | ||
25 | ${PYTHON_PN}-pytest \ | ||
26 | " | ||
27 | |||
28 | do_install_ptest() { | ||
29 | install -d ${D}${PTEST_PATH}/tests | ||
30 | cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ | ||
31 | } | ||