summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-ujson
diff options
context:
space:
mode:
authorGyorgy Sarvari <skandigraun@gmail.com>2025-10-19 15:34:14 +0200
committerGyorgy Sarvari <skandigraun@gmail.com>2025-10-20 11:59:36 +0200
commita87113cb42f975082a1568f58dfdb133ce6935ae (patch)
tree40c70000c52c8ea98382a0b4de2a12cdc3ffac5e /meta-python/recipes-devtools/python/python3-ujson
parent73115df6a4e4a0f8a82b351f89dbaebc6c85bcb1 (diff)
downloadmeta-openembedded-a87113cb42f975082a1568f58dfdb133ce6935ae.tar.gz
python3-ujson: fix run-ptest script
The current script doesn't execute any tests. This patch fixes the run-ptest script. This is mostly a backport of e183db0c8f0b6ef605731769aeefed3e4f0a0093. Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-ujson')
-rw-r--r--meta-python/recipes-devtools/python/python3-ujson/run-ptest2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-python/recipes-devtools/python/python3-ujson/run-ptest b/meta-python/recipes-devtools/python/python3-ujson/run-ptest
index b1539453a6..b63c4de0d9 100644
--- a/meta-python/recipes-devtools/python/python3-ujson/run-ptest
+++ b/meta-python/recipes-devtools/python/python3-ujson/run-ptest
@@ -1,3 +1,3 @@
1#!/bin/sh 1#!/bin/sh
2 2
3python3 tests/test_ujson.py 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}}'