Gyorgy Sarvari cdfcdb6da5
python3-hpack: add ptest support
The tests need about 3s to execute.

Sample output:

root@qemux86-64:~# ptest-runner
START: ptest-runner
2025-12-16T15:48
BEGIN: /usr/lib/python3-hpack/ptest
PASS: tests/test_encode_decode.py:TestIntegerEncoding.test_encoding_10_with_5_bit_prefix
PASS: tests/test_encode_decode.py:TestIntegerEncoding.test_encoding_1337_with_5_bit_prefix
PASS: tests/test_encode_decode.py:TestIntegerEncoding.test_encoding_42_with_8_bit_prefix
[...many lines...]
PASS: tests/test_table.py:TestHeaderTable.test_size
PASS: tests/test_table.py:TestHeaderTable.test_shrink_maxsize_is_zero
PASS: tests/test_table.py:TestHeaderTable.test_shrink_maxsize
============================================================================
Testsuite summary
DURATION: 3
END: /usr/lib/python3-hpack/ptest
2025-12-16T15:48
STOP: ptest-runner
TOTAL: 1 FAIL: 0

Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-12-20 11:41:01 -08:00
..