[Buildroot] [PATCH 1/1] support/testing: ltp-testsuite: replace runltp by kirk
Thomas Petazzoni
thomas.petazzoni at bootlin.com
Sun Dec 28 22:20:21 UTC 2025
On Sun, 21 Dec 2025 19:08:10 +0100
Julien Olivain via buildroot <buildroot at buildroot.org> wrote:
> The run log of this ltp-testsuite test shows:
>
> INFO: runltp script is deprecated, try kirk
> https://github.com/linux-test-project/kirk
>
> This commit updates this test to replace this deprecated runltp
> shell script with the newer kirk Python script.
>
> The logic of this runtime test remains the same: it runs a small number
> of 'read' system call tests, and checks there is no failures and at
> least one test succeed.
>
> Cc: Petr Vorel <petr.vorel at gmail.com>
> Signed-off-by: Julien Olivain <ju.o at free.fr>
> ---
> Patch tested in:
> https://gitlab.com/jolivain/buildroot/-/jobs/12510635102
> ---
> .../tests/package/test_ltp_testsuite.py | 33 +++++++++++--------
> 1 file changed, 20 insertions(+), 13 deletions(-)
Thanks, I've applied. However, it's a bit of a pity that now Python 3
is needed on the target to run LTP.
One option would as suggested by Petr to use kirk in its intended mode,
with kirk running on the host, and connected over SSH to the target to
run tests.
On the other hand, it was a lot more simple/convenient to be able to
just run a simple shell script on the target to run the test suite.
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
More information about the buildroot
mailing list