From c09cc8dddeecff0572d293ef84aade53b9df2f82 Mon Sep 17 00:00:00 2001 From: Tim Orling Date: Sun, 2 Apr 2023 15:29:39 -0700 Subject: 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 Signed-off-by: Khem Raj --- meta-python/recipes-devtools/python/python3-aspectlib/run-ptest | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'meta-python/recipes-devtools/python/python3-aspectlib') 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 -- cgit v1.2.3-54-g00ecf