diff options
| author | Derek Straka <derek@asterius.io> | 2024-02-16 15:23:00 +0000 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2024-02-16 07:37:31 -0800 |
| commit | e183db0c8f0b6ef605731769aeefed3e4f0a0093 (patch) | |
| tree | b17eb86793150fc6ec96b2c4f2d5eb2fec5488d4 | |
| parent | b08e67ae986c4af5aba4d57293bf4a41fcf0b950 (diff) | |
| download | meta-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>
| -rw-r--r-- | meta-python/conf/include/ptest-packagelists-meta-python.inc | 2 | ||||
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-ujson/run-ptest | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/meta-python/conf/include/ptest-packagelists-meta-python.inc b/meta-python/conf/include/ptest-packagelists-meta-python.inc index 67e861ba87..5985482628 100644 --- a/meta-python/conf/include/ptest-packagelists-meta-python.inc +++ b/meta-python/conf/include/ptest-packagelists-meta-python.inc | |||
| @@ -50,6 +50,7 @@ PTESTS_FAST_META_PYTHON = "\ | |||
| 50 | python3-soupsieve \ | 50 | python3-soupsieve \ |
| 51 | python3-sqlparse \ | 51 | python3-sqlparse \ |
| 52 | python3-tomlkit \ | 52 | python3-tomlkit \ |
| 53 | python3-ujson \ | ||
| 53 | python3-u-msgpack-python \ | 54 | python3-u-msgpack-python \ |
| 54 | python3-unidiff \ | 55 | python3-unidiff \ |
| 55 | python3-uritemplate \ | 56 | python3-uritemplate \ |
| @@ -85,6 +86,5 @@ PTESTS_PROBLEMS_META_PYTHON ="\ | |||
| 85 | python3-trustme \ | 86 | python3-trustme \ |
| 86 | python3-typeguard \ | 87 | python3-typeguard \ |
| 87 | python3-whoosh \ | 88 | python3-whoosh \ |
| 88 | python3-ujson \ | ||
| 89 | python3-xlrd \ | 89 | python3-xlrd \ |
| 90 | " | 90 | " |
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 | ||
| 3 | python3 tests/test_ujson.py | 3 | 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}}' |
