summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/python/python3-more-itertools
diff options
context:
space:
mode:
authorTim Orling <timothy.t.orling@linux.intel.com>2020-11-27 20:24:17 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-11-30 14:42:22 +0000
commit0a0f463ad18fb02675b5d1b913700b39c9a1559d (patch)
tree0c70cb28d0cb93ea9aa6e707483d0e2d71665522 /meta/recipes-devtools/python/python3-more-itertools
parentf46e22df4d0c80ad0fb2c663783a7fe7782dde00 (diff)
downloadpoky-0a0f463ad18fb02675b5d1b913700b39c9a1559d.tar.gz
python3-more-itertools: move from meta-python
More routines for operating on iterables, beyond itertools * Part of the dependency chain for pytest (From OE-Core rev: 8d125296b5c57d0076f9f3e6c3d50b5a6ab95de0) Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/python/python3-more-itertools')
-rw-r--r--meta/recipes-devtools/python/python3-more-itertools/run-ptest3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/recipes-devtools/python/python3-more-itertools/run-ptest b/meta/recipes-devtools/python/python3-more-itertools/run-ptest
new file mode 100644
index 0000000000..3385d68939
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-more-itertools/run-ptest
@@ -0,0 +1,3 @@
1#!/bin/sh
2
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/SKIPED/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}}'