diff options
author | Zang Ruochen <zangrc.fnst@cn.fujitsu.com> | 2020-06-30 09:17:32 +0800 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2020-07-03 18:07:12 -0700 |
commit | 82a485c6114464ed2d3b4ff20074b657bf64c380 (patch) | |
tree | 22f4d085ccc9b7084886a3632f648ff041eb48ae /meta-python/recipes-devtools/python/python3-u-msgpack-python | |
parent | a77cafb0f7947d014832b43eb20cb9c3d4b00f91 (diff) | |
download | meta-openembedded-82a485c6114464ed2d3b4ff20074b657bf64c380.tar.gz |
python3-u-msgpack-python: Enable ptest
Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-u-msgpack-python')
-rw-r--r-- | meta-python/recipes-devtools/python/python3-u-msgpack-python/run-ptest | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-u-msgpack-python/run-ptest b/meta-python/recipes-devtools/python/python3-u-msgpack-python/run-ptest new file mode 100644 index 0000000000..7110f6bc40 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-u-msgpack-python/run-ptest | |||
@@ -0,0 +1,3 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | pytest -o log_cli=true -o log_cli_level=INFO test_umsgpack.py| 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}}' | ||