[PATCH] tests/TestSuite_crypto_perf_cryptodev_perf.py Improving lscpu parsing

David Marchand david.marchand at redhat.com
Mon Sep 16 09:16:50 CEST 2024


On Mon, Sep 16, 2024 at 6:27 AM Patrick Robb <probb at iol.unh.edu> wrote:
>
> This testsuite fails to parse lscpu output on some systems because
> it expects that there be no leading whitespace, which is not
> true on all systems.

The leading whitespace is a generic issue, not really related to "some" systems.
The issue is that keys of interest for the rest of the code ('Core(s)
per socket', 'Socket(s)', 'CPU(s)') may have leading whitespace on
some systems.

Could you detail which systems have such issue?

In any case, this fix makes sense to me and it seems limited and safe
enough to merge the patch in the "legacy" repository for dts.


>
> Signed-off-by: Patrick Robb <probb at iol.unh.edu>

Reviewed-by: David Marchand <david.marchand at redhat.com>


-- 
David Marchand



More information about the dts mailing list