summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-appdirs
diff options
context:
space:
mode:
authorPolampalli, Archana <archana.polampalli@windriver.com>2023-09-12 08:56:47 +0000
committerArmin Kuster <akuster808@gmail.com>2023-09-19 07:22:00 -0400
commit8379041d98350016c965e6e5aec32cbf7f7bcd47 (patch)
tree43b051d68c2b7e9438ca49a73049cd54063df7aa /meta-python/recipes-devtools/python/python3-appdirs
parentc0e8ce2623f49d05b5673a03f821e4f4f3478d7f (diff)
downloadmeta-openembedded-8379041d98350016c965e6e5aec32cbf7f7bcd47.tar.gz
python3-appdirs: print ptest results in unified format
Update run-ptest script to print the output of python3-appdirs ptest results in unified format Signed-off-by: Archana Polampalli <archana.polampalli@windriver.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-appdirs')
-rw-r--r--meta-python/recipes-devtools/python/python3-appdirs/run-ptest2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-python/recipes-devtools/python/python3-appdirs/run-ptest b/meta-python/recipes-devtools/python/python3-appdirs/run-ptest
index 5287f3e035..b63c4de0d9 100644
--- a/meta-python/recipes-devtools/python/python3-appdirs/run-ptest
+++ b/meta-python/recipes-devtools/python/python3-appdirs/run-ptest
@@ -1,3 +1,3 @@
1#!/bin/sh 1#!/bin/sh
2 2
3pytest | sed -e 's/\[100%\]//g' | sed -e 's/\.\.F/: FAIL/g' | sed -e 's/\.\.\./: PASS/g' 3pytest -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}}'