summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/python/python3-xmltodict
diff options
context:
space:
mode:
authorSamantha Jalabert <samantha.jalabert@syslinbit.com>2023-09-22 14:46:25 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2023-09-27 11:47:42 +0100
commit840fead1909d143d901f5471fc587896d7125259 (patch)
treef974c67a04404e2e3a46376fc9692c1538fb3804 /meta/recipes-devtools/python/python3-xmltodict
parentf3145387f59cc17c918564a302c4ca20c507930f (diff)
downloadpoky-840fead1909d143d901f5471fc587896d7125259.tar.gz
python3-xmltodict: Copy recipe from meta-python
commit: 61d14138c22a70188d585d85e35fdf86bc65e66f (From OE-Core rev: 1c5bbd919cf9c431ca2520cbb21a5cb8b8a190a0) Signed-off-by: Marta Rybczynska <mrybczynska@syslinbit.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/python/python3-xmltodict')
-rw-r--r--meta/recipes-devtools/python/python3-xmltodict/run-ptest3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/recipes-devtools/python/python3-xmltodict/run-ptest b/meta/recipes-devtools/python/python3-xmltodict/run-ptest
new file mode 100644
index 0000000000..3385d68939
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-xmltodict/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}}'