diff options
| author | Ross Burton <ross.burton@arm.com> | 2023-03-21 12:37:37 +0000 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-03-21 22:42:05 +0000 |
| commit | 91a92e37743861301fbab54be396edf9c5b51038 (patch) | |
| tree | 23d6a0d4c0d085f58b1a510192faef871ca61f83 /meta/recipes-devtools/python | |
| parent | 870d6a760da1a200583927a4cae967ece5b7f259 (diff) | |
| download | poky-91a92e37743861301fbab54be396edf9c5b51038.tar.gz | |
python3-jinja2: use python3-unittest-automake-output
Instead of using sed to reformat the output use this new module.
(From OE-Core rev: def25193748fac40c4120e9a6e8861ae4c7ae760)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/python')
| -rw-r--r-- | meta/recipes-devtools/python/python3-jinja2/run-ptest | 2 | ||||
| -rw-r--r-- | meta/recipes-devtools/python/python3-jinja2_3.1.2.bb | 10 |
2 files changed, 6 insertions, 6 deletions
diff --git a/meta/recipes-devtools/python/python3-jinja2/run-ptest b/meta/recipes-devtools/python/python3-jinja2/run-ptest index 5cec711696..8d2017d39c 100644 --- a/meta/recipes-devtools/python/python3-jinja2/run-ptest +++ b/meta/recipes-devtools/python/python3-jinja2/run-ptest | |||
| @@ -1,3 +1,3 @@ | |||
| 1 | #!/bin/sh | 1 | #!/bin/sh |
| 2 | 2 | ||
| 3 | pytest | 3 | pytest --automake |
diff --git a/meta/recipes-devtools/python/python3-jinja2_3.1.2.bb b/meta/recipes-devtools/python/python3-jinja2_3.1.2.bb index 80e0b85670..cd248cc0b4 100644 --- a/meta/recipes-devtools/python/python3-jinja2_3.1.2.bb +++ b/meta/recipes-devtools/python/python3-jinja2_3.1.2.bb | |||
| @@ -12,8 +12,7 @@ CVE_PRODUCT = "jinja2 jinja" | |||
| 12 | 12 | ||
| 13 | CLEANBROKEN = "1" | 13 | CLEANBROKEN = "1" |
| 14 | 14 | ||
| 15 | inherit pypi setuptools3 | 15 | inherit pypi setuptools3 ptest |
| 16 | inherit ${@bb.utils.filter('DISTRO_FEATURES', 'ptest', d)} | ||
| 17 | 16 | ||
| 18 | SRC_URI += " \ | 17 | SRC_URI += " \ |
| 19 | file://run-ptest \ | 18 | file://run-ptest \ |
| @@ -25,9 +24,10 @@ do_install_ptest() { | |||
| 25 | } | 24 | } |
| 26 | 25 | ||
| 27 | RDEPENDS:${PN}-ptest += " \ | 26 | RDEPENDS:${PN}-ptest += " \ |
| 28 | ${PYTHON_PN}-pytest \ | 27 | ${PYTHON_PN}-pytest \ |
| 29 | ${PYTHON_PN}-toml \ | 28 | ${PYTHON_PN}-unittest-automake-output \ |
| 30 | ${PYTHON_PN}-unixadmin \ | 29 | ${PYTHON_PN}-toml \ |
| 30 | ${PYTHON_PN}-unixadmin \ | ||
| 31 | " | 31 | " |
| 32 | 32 | ||
| 33 | RDEPENDS:${PN} += " \ | 33 | RDEPENDS:${PN} += " \ |
