From f6355e494dea2d96fd1b7a94b3ce4243c082488b Mon Sep 17 00:00:00 2001 From: Brad Bishop Date: Tue, 8 Dec 2020 14:30:50 -0500 Subject: create gatesgarth branch Reset the following subtrees on gatesgarth: meta-raspberrypi: 09a3c11696(gatesgarth) poky: 943ef2fad8(gatesgarth) meta-openembedded: b9dcf17700(gatesgarth) meta-xilinx: b3e37df5d9(gatesgarth) meta-security: 4583ab9b08(gatesgarth) cherry pick: meta-phosphor: c52fa217b832 Change-Id: I8ad417df218284605f6edfe65798a3b0c99aba12 Signed-off-by: Brad Bishop --- .../meta-python/recipes-devtools/python/python3-wcwidth/run-ptest | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 meta-openembedded/meta-python/recipes-devtools/python/python3-wcwidth/run-ptest (limited to 'meta-openembedded/meta-python/recipes-devtools/python/python3-wcwidth') diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-wcwidth/run-ptest b/meta-openembedded/meta-python/recipes-devtools/python/python3-wcwidth/run-ptest new file mode 100644 index 0000000000..b63c4de0d9 --- /dev/null +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-wcwidth/run-ptest @@ -0,0 +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}}' -- cgit v1.2.3