Hi Ross,

Thanks for the feedback on v2. Sent an improved v3 with the test scope reduced 
as you suggested. Now only running fullbench and
cli-tests — no fuzzers or stress tests. The result is a much leaner ptest: 
36/36 PASS in ~32 seconds on qemux86-64, no extra
memory requirements.

Best Regards,
Pratik

________________________________________
From: Ross Burton <[email protected]>
Sent: Monday, June 8, 2026 4:05 PM
To: Pratik Farkase
Cc: [email protected]; [email protected]
Subject: Re: [OE-core] [PATCH v2] zstd: add ptest support

On 19 May 2026, at 10:08, Pratik Farkase via lists.openembedded.org 
<[email protected]> wrote:
>
> Add comprehensive ptest support for zstd running the full upstream test
> suite covering compression correctness, streaming, dictionaries, CLI
> behavior, and fuzz testing.
>
> Tests included:
>  - fullbench: validates all internal compression/decompression functions
>  - poolTests: thread pool ordering and synchronization
>  - invalidDictionaries: dictionary error handling
>  - legacy: legacy format (v0.4+) compatibility
>  - fuzzer: randomized compression/decompression (200s, ~700+ rounds)
>  - zstreamtest: streaming API fuzzer (90s, ~250+ rounds)
>  - decodecorpus: random frame generation and decode (30s, ~450+ rounds)
>  - playTests.sh: comprehensive CLI validation including compression,
>    decompression, multithreading, dictionaries, sparse files, frame
>    concatenation, long distance matching, benchmarks, and round-trips
>  - cli-tests: 36 Python-based CLI integration tests covering
>    compression, decompression, progress, file-stat, dictionaries,
>    symlinks, and file handling

The primary goal of the ptests is integration testing so if we’re having to 
manually install and run the tests then it’s entirely reasonable if not 
desirable to pick a subset of the tests.

In this case, we don’t need to run the fuzzer tests and so on.  I’d suggest 
maybe just fullbench and cli-tests would be sufficient here, less to install 
and faster execution.

Ross
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#244366): 
https://lists.openembedded.org/g/openembedded-core/message/244366
Mute This Topic: https://lists.openembedded.org/mt/119387633/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to