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>
This commit is contained in:
Ross Burton
2023-03-21 12:37:37 +00:00
committed by Richard Purdie
parent 870d6a760d
commit 91a92e3774
2 changed files with 6 additions and 6 deletions

View File

@@ -1,3 +1,3 @@
#!/bin/sh #!/bin/sh
pytest pytest --automake

View File

@@ -12,8 +12,7 @@ CVE_PRODUCT = "jinja2 jinja"
CLEANBROKEN = "1" CLEANBROKEN = "1"
inherit pypi setuptools3 inherit pypi setuptools3 ptest
inherit ${@bb.utils.filter('DISTRO_FEATURES', 'ptest', d)}
SRC_URI += " \ SRC_URI += " \
file://run-ptest \ file://run-ptest \
@@ -25,9 +24,10 @@ do_install_ptest() {
} }
RDEPENDS:${PN}-ptest += " \ RDEPENDS:${PN}-ptest += " \
${PYTHON_PN}-pytest \ ${PYTHON_PN}-pytest \
${PYTHON_PN}-toml \ ${PYTHON_PN}-unittest-automake-output \
${PYTHON_PN}-unixadmin \ ${PYTHON_PN}-toml \
${PYTHON_PN}-unixadmin \
" "
RDEPENDS:${PN} += " \ RDEPENDS:${PN} += " \