[PATCH 1/1] test/memcpy: reduce duration
Morten Brørup
mb at smartsharesystems.com
Fri Oct 31 12:48:26 CET 2025
> From: Thomas Monjalon [mailto:thomas at monjalon.net]
> Sent: Friday, 31 October 2025 12.43
>
> When running on limited platforms like GitHub Actions,
> the functional unit test "memcpy_autotest"
> may hit a timeout, especially when running with UBSan.
>
> This change skips testing some alignment offsets (from 0 to 31).
> It will test only every 3-byte offsets for the source buffer,
> and every 2-byte offsets for the destination buffer.
> So it is supposed to be 6x faster with a reasonably smaller coverage.
>
> Signed-off-by: Thomas Monjalon <thomas at monjalon.net>
> ---
Seems reasonable.
Acked-by: Morten Brørup <mb at smartsharesystems.com>
More information about the dev
mailing list