diff options
| author | Gyorgy Sarvari <skandigraun@gmail.com> | 2025-12-16 18:58:37 +0100 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2025-12-20 11:41:02 -0800 |
| commit | 8fc1b929d8ed1966d76e8265665f39fdef6a3208 (patch) | |
| tree | 75459a8083b9fdf2c7082a5c6c4bb411b6f63646 /meta-python/recipes-connectivity/python-priority | |
| parent | 75c9a73add331e75cba43b322f4c3d35c350207c (diff) | |
| download | meta-openembedded-8fc1b929d8ed1966d76e8265665f39fdef6a3208.tar.gz | |
python3-priority: add ptest support
It takes under 5s to execute. Sample output:
qemux86-64 login: root
root@qemux86-64:~# ptest-runner
START: ptest-runner
2025-12-16T16:00
BEGIN: /usr/lib/python3-priority/ptest
PASS: test/test_priority.py:TestStream.test_stream_repr
PASS: test/test_priority.py:TestStream.test_streams_are_well_ordered
PASS: test/test_priority.py:TestStream.test_stream_ordering
[...many lines...]
PASS: test/test_priority.py:TestPriorityTreeManual.test_maximum_streams_with_bad_int_is_error[-50]
PASS: test/test_priority.py:TestPriorityTreeOutput.test_period_of_repetition
PASS: test/test_priority.py:TestPriorityTreeOutput.test_priority_tree_distribution
PASS: ../../python3.13/site-packages/hypothesis/stateful.py:TestPriorityTreeStateful.runTest
============================================================================
Testsuite summary
DURATION: 4
END: /usr/lib/python3-priority/ptest
2025-12-16T16:00
STOP: ptest-runner
TOTAL: 1 FAIL: 0
Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python/recipes-connectivity/python-priority')
| -rw-r--r-- | meta-python/recipes-connectivity/python-priority/python3-priority_2.0.0.bb | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/meta-python/recipes-connectivity/python-priority/python3-priority_2.0.0.bb b/meta-python/recipes-connectivity/python-priority/python3-priority_2.0.0.bb index 93b694c8b8..26620a3a39 100644 --- a/meta-python/recipes-connectivity/python-priority/python3-priority_2.0.0.bb +++ b/meta-python/recipes-connectivity/python-priority/python3-priority_2.0.0.bb | |||
| @@ -6,4 +6,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=ae57d8a09fc8b6b164d7357339619045" | |||
| 6 | 6 | ||
| 7 | SRC_URI[sha256sum] = "c965d54f1b8d0d0b19479db3924c7c36cf672dbf2aec92d43fbdaf4492ba18c0" | 7 | SRC_URI[sha256sum] = "c965d54f1b8d0d0b19479db3924c7c36cf672dbf2aec92d43fbdaf4492ba18c0" |
| 8 | 8 | ||
| 9 | inherit pypi setuptools3 | 9 | PTEST_PYTEST_DIR = "test" |
| 10 | inherit pypi setuptools3 ptest-python-pytest | ||
| 11 | |||
| 12 | RDEPENDS:${PN}-ptest += "python3-hypothesis" | ||
