diff options
| author | Zang Ruochen <zangrc.fnst@cn.fujitsu.com> | 2020-04-21 09:58:50 +0800 | 
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2020-04-20 21:45:13 -0700 | 
| commit | 139b83eec2a52805ee83f8deddfa173c7672fce8 (patch) | |
| tree | 5b9c3fb9b04d66f78248410ef1ac367b8177d20a /meta-python/recipes-devtools/python/python-jinja2.inc | |
| parent | 8296d86695be4c56ee375124aefc6f307dc3ded2 (diff) | |
| download | meta-openembedded-139b83eec2a52805ee83f8deddfa173c7672fce8.tar.gz | |
python3-jinja2: 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-jinja2.inc')
| -rw-r--r-- | meta-python/recipes-devtools/python/python-jinja2.inc | 16 | 
1 files changed, 16 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python-jinja2.inc b/meta-python/recipes-devtools/python/python-jinja2.inc index 6a95b953ff..9272305156 100644 --- a/meta-python/recipes-devtools/python/python-jinja2.inc +++ b/meta-python/recipes-devtools/python/python-jinja2.inc  | |||
| @@ -15,3 +15,19 @@ RDEPENDS_${PN} += "${PYTHON_PN}-io ${PYTHON_PN}-pickle ${PYTHON_PN}-crypt \ | |||
| 15 | CLEANBROKEN = "1" | 15 | CLEANBROKEN = "1" | 
| 16 | 16 | ||
| 17 | BBCLASSEXTEND = "native nativesdk" | 17 | BBCLASSEXTEND = "native nativesdk" | 
| 18 | |||
| 19 | inherit ptest | ||
| 20 | |||
| 21 | SRC_URI += " \ | ||
| 22 | file://run-ptest \ | ||
| 23 | " | ||
| 24 | |||
| 25 | RDEPENDS_${PN}-ptest += " \ | ||
| 26 | ${PYTHON_PN}-pytest \ | ||
| 27 | ${PYTHON_PN}-unixadmin \ | ||
| 28 | " | ||
| 29 | |||
| 30 | do_install_ptest() { | ||
| 31 | install -d ${D}${PTEST_PATH}/tests | ||
| 32 | cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ | ||
| 33 | } | ||
