diff options
author | Zang Ruochen <zangrc.fnst@cn.fujitsu.com> | 2020-04-21 09:58:54 +0800 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2020-04-20 21:45:13 -0700 |
commit | c96af8320a0c114f3074aaea318f027331397d27 (patch) | |
tree | d0049f6b78ac45681cbea4488c54f8d6f2e4b8da /meta-python/recipes-devtools/python/python-more-itertools.inc | |
parent | a626304f378a8ba6d29130f2f1dfd3f470deeb0f (diff) | |
download | meta-openembedded-c96af8320a0c114f3074aaea318f027331397d27.tar.gz |
python3-more-itertools: 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/python-more-itertools.inc')
-rw-r--r-- | meta-python/recipes-devtools/python/python-more-itertools.inc | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python-more-itertools.inc b/meta-python/recipes-devtools/python/python-more-itertools.inc index 8dcf00b3fe..0b684c1b1d 100644 --- a/meta-python/recipes-devtools/python/python-more-itertools.inc +++ b/meta-python/recipes-devtools/python/python-more-itertools.inc | |||
@@ -4,3 +4,18 @@ LICENSE = "MIT" | |||
4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=3396ea30f9d21389d7857719816f83b5" | 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=3396ea30f9d21389d7857719816f83b5" |
5 | 5 | ||
6 | BBCLASSEXTEND = "native nativesdk" | 6 | BBCLASSEXTEND = "native nativesdk" |
7 | |||
8 | inherit ptest | ||
9 | |||
10 | SRC_URI += " \ | ||
11 | file://run-ptest \ | ||
12 | " | ||
13 | |||
14 | RDEPENDS_${PN}-ptest += " \ | ||
15 | ${PYTHON_PN}-pytest \ | ||
16 | " | ||
17 | |||
18 | do_install_ptest() { | ||
19 | install -d ${D}${PTEST_PATH}/tests | ||
20 | cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ | ||
21 | } | ||