aboutsummaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-platformdirs
diff options
context:
space:
mode:
authorTrevor Gamblin <tgamblin@baylibre.com>2023-05-02 12:50:00 -0400
committerKhem Raj <raj.khem@gmail.com>2023-05-12 10:33:54 -0700
commit1410b40c2f04af9104220c967a81b2c4779efa6c (patch)
treecb18554fbca46cc4fabebe2158561fc40a3099d3 /meta-python/recipes-devtools/python/python3-platformdirs
parenta179653ce204d90980f81aff66ef4fd5649568d5 (diff)
downloadmeta-openembedded-1410b40c2f04af9104220c967a81b2c4779efa6c.tar.gz
python3-platformdirs: Add recipe
Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-platformdirs')
-rw-r--r--meta-python/recipes-devtools/python/python3-platformdirs/run-ptest3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-platformdirs/run-ptest b/meta-python/recipes-devtools/python/python3-platformdirs/run-ptest
new file mode 100644
index 0000000000..b63c4de0d9
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-platformdirs/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}}'