It takes around 10s to execute the suite.

Sample output:

root@qemux86-64:~# ptest-runner
START: ptest-runner
2025-12-16T15:36
BEGIN: /usr/lib/python3-h2/ptest
PASS: tests/test_basic_logic.py:TestBasicClient.test_begin_connection
PASS: tests/test_basic_logic.py:TestBasicClient.test_sending_headers
PASS: tests/test_basic_logic.py:TestBasicClient.test_sending_data
[...many lines...]
PASS: tests/test_utility_functions.py:test_size_limit_dict_limit
PASS: tests/test_utility_functions.py:test_size_limit_dict_limit_init
PASS: tests/test_utility_functions.py:test_size_limit_dict_no_limit
============================================================================
Testsuite summary
DURATION: 10
END: /usr/lib/python3-h2/ptest
2025-12-16T15:36
STOP: ptest-runner
TOTAL: 1 FAIL: 0

Signed-off-by: Gyorgy Sarvari <[email protected]>
---
 meta-python/conf/include/ptest-packagelists-meta-python.inc    | 1 +
 meta-python/recipes-connectivity/python-h2/python3-h2_4.3.0.bb | 3 ++-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/meta-python/conf/include/ptest-packagelists-meta-python.inc 
b/meta-python/conf/include/ptest-packagelists-meta-python.inc
index e17d5ef46d..4cbdec70a3 100644
--- a/meta-python/conf/include/ptest-packagelists-meta-python.inc
+++ b/meta-python/conf/include/ptest-packagelists-meta-python.inc
@@ -38,6 +38,7 @@ PTESTS_FAST_META_PYTHON = "\
     python3-gpiod \
     python3-gpt-image \
     python3-gunicorn \
+    python3-h2 \
     python3-html2text \
     python3-httptools \
     python3-inflection \
diff --git a/meta-python/recipes-connectivity/python-h2/python3-h2_4.3.0.bb 
b/meta-python/recipes-connectivity/python-h2/python3-h2_4.3.0.bb
index 11ee118831..db181dc0b4 100644
--- a/meta-python/recipes-connectivity/python-h2/python3-h2_4.3.0.bb
+++ b/meta-python/recipes-connectivity/python-h2/python3-h2_4.3.0.bb
@@ -6,6 +6,7 @@ LIC_FILES_CHKSUM = 
"file://LICENSE;md5=aa3b9b4395563dd427be5f022ec321c1"
 
 SRC_URI[sha256sum] = 
"6c59efe4323fa18b47a632221a1888bd7fde6249819beda254aeca909f221bf1"
 
-inherit pypi python_setuptools_build_meta
+inherit ptest-python-pytest pypi python_setuptools_build_meta
 
 RDEPENDS:${PN} += "python3-hpack python3-hyperframe"
+RDEPENDS:${PN}-ptest += "python3-hypothesis"
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#122700): 
https://lists.openembedded.org/g/openembedded-devel/message/122700
Mute This Topic: https://lists.openembedded.org/mt/116813615/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to