meta-openembedded/meta-python/recipes-devtools/python/python3-pylint/run-ptest
Khem Raj 3e5378b42a python3-pylint: Fix missing deps for ptests
Disable benchmarks in ptest run

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-05-12 10:42:45 -07:00

423 B

#!/bin/sh

pytest --benchmark-disable -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}}'