diff options
author | Tim Orling <timothy.t.orling@linux.intel.com> | 2020-11-27 15:51:44 -0800 |
---|---|---|
committer | Tim Orling <timothy.t.orling@linux.intel.com> | 2020-11-27 16:10:12 -0800 |
commit | 016d83a6502367c6fd29d61a571960afea35b7a1 (patch) | |
tree | 0cf0607e5908be16076acd1a2ac846eb7b148e02 /meta/recipes-devtools/python/python3-more-itertools/run-ptest | |
parent | a634c7c8cd8069246dd0e931a3c714982b7ec5cc (diff) | |
download | openembedded-core-contrib-016d83a6502367c6fd29d61a571960afea35b7a1.tar.gz |
python3-more-itertools: move from meta-python
More routines for operating on iterables, beyond itertools
* Part of the dependency chain for pytest
Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Diffstat (limited to 'meta/recipes-devtools/python/python3-more-itertools/run-ptest')
-rw-r--r-- | meta/recipes-devtools/python/python3-more-itertools/run-ptest | 3 |
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 @@ +#!/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/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}}' |