From e183db0c8f0b6ef605731769aeefed3e4f0a0093 Mon Sep 17 00:00:00 2001 From: Derek Straka Date: Fri, 16 Feb 2024 15:23:00 +0000 Subject: 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 Signed-off-by: Khem Raj --- meta-python/recipes-devtools/python/python3-ujson/run-ptest | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'meta-python/recipes-devtools/python/python3-ujson') 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}}' -- cgit v1.2.3-54-g00ecf