poky/meta/recipes-devtools/python/python3-atomicwrites/run-ptest
Tim Orling 9f99198e9c python3-atomicwrites: move from meta-python
Powerful Python library for atomic file writes

* Part of the dependency chain for python3-pytest

(From OE-Core rev: 5b0b24882d061d2d1ada5c53c1837fc502974447)

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}}'