Message ID | fba331aeb47d0113f5d5c51008a60bbac9d5b2cd.1680473253.git.tim.orling@konsulko.com |
---|---|
State | New |
Headers | show |
Series | [meta-oe,01/11] cli11: do not inherit ptest | expand |
diff --git a/meta-python/recipes-devtools/python/python3-aspectlib/run-ptest b/meta-python/recipes-devtools/python/python3-aspectlib/run-ptest index b63c4de0d..8d2017d39 100644 --- a/meta-python/recipes-devtools/python/python3-aspectlib/run-ptest +++ b/meta-python/recipes-devtools/python/python3-aspectlib/run-ptest @@ -1,3 +1,3 @@ #!/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 diff --git a/meta-python/recipes-devtools/python/python3-aspectlib_2.0.0.bb b/meta-python/recipes-devtools/python/python3-aspectlib_2.0.0.bb index 416b031c5..d2b0864ca 100644 --- a/meta-python/recipes-devtools/python/python3-aspectlib_2.0.0.bb +++ b/meta-python/recipes-devtools/python/python3-aspectlib_2.0.0.bb @@ -21,8 +21,10 @@ do_install_ptest() { } RDEPENDS:${PN}-ptest += "\ - python3-tornado \ python3-process-tests \ + python3-pytest \ + python3-tornado \ + python3-unittest-automake-output \ " RDEPENDS:${PN} += "python3-core python3-fields"
* ptest RDEPENDS on pytest * Use python3-unittest-automake-output instead of using sed to reformat the output use this new module. Signed-off-by: Tim Orling <tim.orling@konsulko.com> --- .../recipes-devtools/python/python3-aspectlib/run-ptest | 2 +- .../recipes-devtools/python/python3-aspectlib_2.0.0.bb | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-)