mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-01-01 13:58:06 +00:00
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>
This commit is contained in:
parent
75c9a73add
commit
8fc1b929d8
|
|
@ -65,6 +65,7 @@ PTESTS_FAST_META_PYTHON = "\
|
||||||
python3-portion \
|
python3-portion \
|
||||||
python3-precise-runner \
|
python3-precise-runner \
|
||||||
python3-prettytable \
|
python3-prettytable \
|
||||||
|
python3-priority \
|
||||||
python3-propcache \
|
python3-propcache \
|
||||||
python3-pyais \
|
python3-pyais \
|
||||||
python3-pydantic \
|
python3-pydantic \
|
||||||
|
|
|
||||||
|
|
@ -6,4 +6,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=ae57d8a09fc8b6b164d7357339619045"
|
||||||
|
|
||||||
SRC_URI[sha256sum] = "c965d54f1b8d0d0b19479db3924c7c36cf672dbf2aec92d43fbdaf4492ba18c0"
|
SRC_URI[sha256sum] = "c965d54f1b8d0d0b19479db3924c7c36cf672dbf2aec92d43fbdaf4492ba18c0"
|
||||||
|
|
||||||
inherit pypi setuptools3
|
PTEST_PYTEST_DIR = "test"
|
||||||
|
inherit pypi setuptools3 ptest-python-pytest
|
||||||
|
|
||||||
|
RDEPENDS:${PN}-ptest += "python3-hypothesis"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user