summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/python/python3-jinja2/run-ptest
diff options
context:
space:
mode:
authorNarpat Mali <narpat.mali@windriver.com>2023-11-07 11:51:58 +0000
committerSteve Sakoman <steve@sakoman.com>2023-11-14 06:49:11 -1000
commitf60fb520553cec2e8278d41988f4262813e30a30 (patch)
tree03a5fa85ac54f82a0be092ba13be0b3e9e68d11c /meta/recipes-devtools/python/python3-jinja2/run-ptest
parent2e3c89e2559579b5f451c6ca08b2f2951e3af23a (diff)
downloadpoky-f60fb520553cec2e8278d41988f4262813e30a30.tar.gz
python3-jinja2: Fixed ptest result output as per the standard
There was an extra space between the result and ':'. After removing extra space, the ptest result will be: result : testname -> result: testname (From OE-Core rev: 4bb6373e5f4a1330a063d1afe855d6c24d5461e7) Signed-off-by: Narpat Mali <narpat.mali@windriver.com> Signed-off-by: Steve Sakoman <steve@sakoman.com>
Diffstat (limited to 'meta/recipes-devtools/python/python3-jinja2/run-ptest')
-rw-r--r--meta/recipes-devtools/python/python3-jinja2/run-ptest2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-devtools/python/python3-jinja2/run-ptest b/meta/recipes-devtools/python/python3-jinja2/run-ptest
index 3004024619..5817735a63 100644
--- a/meta/recipes-devtools/python/python3-jinja2/run-ptest
+++ b/meta/recipes-devtools/python/python3-jinja2/run-ptest
@@ -1,3 +1,3 @@
1#!/bin/sh 1#!/bin/sh
2 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/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}}' 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}}'