poky/meta/recipes-devtools/python/python3-pluggy/run-ptest
Tim Orling 225fbb0c41 python3-pluggy: move from meta-python
Plugin and hook calling mechanisms for python

* Part of the dependency chain for pytest

(From OE-Core rev: 7b1f4345009973d3fcb8fc1e8fc212ce92de8015)

Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-30 14:42:22 +00:00

403 B

#!/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}}'