aboutsummaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-aspectlib
diff options
context:
space:
mode:
authorTim Orling <ticotimo@gmail.com>2023-04-02 15:29:39 -0700
committerKhem Raj <raj.khem@gmail.com>2023-04-04 13:39:45 -0700
commitc09cc8dddeecff0572d293ef84aade53b9df2f82 (patch)
tree5d1ddf92a69268182a922b4117b927232ba78827 /meta-python/recipes-devtools/python/python3-aspectlib
parent80e9601cc87a705f9f9d585fb2aa631e6e7e41db (diff)
downloadmeta-openembedded-c09cc8dddeecff0572d293ef84aade53b9df2f82.tar.gz
python3-aspectlib: fix ptest
* 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> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-aspectlib')
-rw-r--r--meta-python/recipes-devtools/python/python3-aspectlib/run-ptest2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-python/recipes-devtools/python/python3-aspectlib/run-ptest b/meta-python/recipes-devtools/python/python3-aspectlib/run-ptest
index b63c4de0d9..8d2017d39c 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