aboutsummaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-ujson
diff options
context:
space:
mode:
authorDerek Straka <derek@asterius.io>2024-02-16 15:23:00 +0000
committerKhem Raj <raj.khem@gmail.com>2024-02-16 07:37:31 -0800
commite183db0c8f0b6ef605731769aeefed3e4f0a0093 (patch)
treeb17eb86793150fc6ec96b2c4f2d5eb2fec5488d4 /meta-python/recipes-devtools/python/python3-ujson
parentb08e67ae986c4af5aba4d57293bf4a41fcf0b950 (diff)
downloadmeta-openembedded-e183db0c8f0b6ef605731769aeefed3e4f0a0093.tar.gz
python3-ujson: add ptest into PTESTS_FAST_META_PYTHON items
Verified successful test run using bitbake meta-python-image-ptest-python3-ujson on qemu86-64 291 passed in 9.08s. Signed-off-by: Derek Straka <derek@asterius.io> Signed-off-by: Khem Raj <raj.khem@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 @@
#!/bin/sh
-python3 tests/test_ujson.py
+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/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}}'