diff options
| author | Gyorgy Sarvari <skandigraun@gmail.com> | 2025-12-16 18:58:34 +0100 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2025-12-20 11:41:01 -0800 |
| commit | bd9f2fef17d902df9624e361adf326a4fc0af868 (patch) | |
| tree | add07ab8a07b17512d217caf3fc38d39b0b13fda | |
| parent | fae6fe9b4156fae7696a7978700c823f414da8f7 (diff) | |
| download | meta-openembedded-bd9f2fef17d902df9624e361adf326a4fc0af868.tar.gz | |
python3-h2: add ptest support
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 <skandigraun@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
| -rw-r--r-- | meta-python/conf/include/ptest-packagelists-meta-python.inc | 1 | ||||
| -rw-r--r-- | meta-python/recipes-connectivity/python-h2/python3-h2_4.3.0.bb | 3 |
2 files changed, 3 insertions, 1 deletions
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 = "\ | |||
| 38 | python3-gpiod \ | 38 | python3-gpiod \ |
| 39 | python3-gpt-image \ | 39 | python3-gpt-image \ |
| 40 | python3-gunicorn \ | 40 | python3-gunicorn \ |
| 41 | python3-h2 \ | ||
| 41 | python3-html2text \ | 42 | python3-html2text \ |
| 42 | python3-httptools \ | 43 | python3-httptools \ |
| 43 | python3-inflection \ | 44 | 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" | |||
| 6 | 6 | ||
| 7 | SRC_URI[sha256sum] = "6c59efe4323fa18b47a632221a1888bd7fde6249819beda254aeca909f221bf1" | 7 | SRC_URI[sha256sum] = "6c59efe4323fa18b47a632221a1888bd7fde6249819beda254aeca909f221bf1" |
| 8 | 8 | ||
| 9 | inherit pypi python_setuptools_build_meta | 9 | inherit ptest-python-pytest pypi python_setuptools_build_meta |
| 10 | 10 | ||
| 11 | RDEPENDS:${PN} += "python3-hpack python3-hyperframe" | 11 | RDEPENDS:${PN} += "python3-hpack python3-hyperframe" |
| 12 | RDEPENDS:${PN}-ptest += "python3-hypothesis" | ||
