From: Petr Vorel <petr.vorel@gmail.com>
To: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Cc: Julien Olivain via buildroot <buildroot@buildroot.org>,
Julien Olivain <ju.o@free.fr>
Subject: Re: [Buildroot] [PATCH 1/1] support/testing: ltp-testsuite: replace runltp by kirk
Date: Tue, 30 Dec 2025 18:49:58 +0100 [thread overview]
Message-ID: <20251230174958.GA496221@pevik> (raw)
In-Reply-To: <20251228232021.4d4e70c9@windsurf>
Hi Thomas,
> On Sun, 21 Dec 2025 19:08:10 +0100
> Julien Olivain via buildroot <buildroot@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@gmail.com>
> > Signed-off-by: Julien Olivain <ju.o@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.
+1, thanks!
> However, it's a bit of a pity that now Python 3
> is needed on the target to run LTP.
Yeah. I don't like it either. Specially LTP tests themselves does not require
anything (single test is either binary written in C statically linked LTP
libraries, we also have few POSIX compatible shell based tests which require
barely minimum of external dependencies), it can be run as is.
ATM we have list of tests in so called runtest files [1], which contain list of
tests (each line is single test: "test_label binary/script optional_arguments"),
therefore anything which can remove the first parameter and execute the rest can
be LTP runner. i.e. Buildroot custom script could be really minimal.
runltp does quite a few other things but these who need them should really move
to kirk. Also we plan to implement in kirk and ltx running tests in parallel.
That will save a lot of runtime.
[1] https://github.com/linux-test-project/ltp/tree/master/runtest
> 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.
Would it be possible to have both? Vendor runltp for local use and package kirk
as a host package (+ ltx as normal package)?
Kind regards,
Petr
> Thomas
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
next prev parent reply other threads:[~2025-12-30 17:50 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-12-21 18:08 [Buildroot] [PATCH 1/1] support/testing: ltp-testsuite: replace runltp by kirk Julien Olivain via buildroot
2025-12-24 0:14 ` Petr Vorel
2025-12-28 22:20 ` Thomas Petazzoni via buildroot
2025-12-30 17:49 ` Petr Vorel [this message]
2026-01-15 19:47 ` Thomas Petazzoni via buildroot
2026-01-16 6:23 ` Petr Vorel
2026-01-07 17:50 ` Arnout Vandecappelle via buildroot
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20251230174958.GA496221@pevik \
--to=petr.vorel@gmail.com \
--cc=buildroot@buildroot.org \
--cc=ju.o@free.fr \
--cc=thomas.petazzoni@bootlin.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox