mirror of
https://git.yoctoproject.org/poky
synced 2026-06-01 00:59:48 +00:00
python3-bcrypt: use python3-unittest-automake-output
Instead of using sed to reformat the output use this new module. (From OE-Core rev: 6d81a8eeb42695c1d908a2ef9d60606c4eb7cf8f) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
fc2cf1f819
commit
c2a663ebd7
@@ -1,3 +1,3 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
pytest -o log_cli=true -o log_cli_level=INFO | sed -e 's/\[...%\]//g'| sed -e 's/PASSED/PASS/g'| sed -e 's/FAILED/FAIL/g'|sed -e 's/SKIPPED/SKIP/g'| awk '{if ($NF=="PASS" || $NF=="FAIL" || $NF=="SKIP" || $NF=="XFAIL" || $NF=="XPASS"){printf "%s: %s\n", $NF, $0}else{print}}'| awk '{if ($NF=="PASS" || $NF=="FAIL" || $NF=="SKIP" || $NF=="XFAIL" || $NF=="XPASS") {$NF="";print $0}else{print}}'
|
pytest --automake
|
||||||
|
|||||||
@@ -17,6 +17,7 @@ require ${BPN}-crates.inc
|
|||||||
|
|
||||||
RDEPENDS:${PN}-ptest += " \
|
RDEPENDS:${PN}-ptest += " \
|
||||||
${PYTHON_PN}-pytest \
|
${PYTHON_PN}-pytest \
|
||||||
|
${PYTHON_PN}-unittest-automake-output \
|
||||||
"
|
"
|
||||||
|
|
||||||
do_install_ptest() {
|
do_install_ptest() {
|
||||||
|
|||||||
Reference in New Issue
Block a user