* [LTP] About those realtime tests.
@ 2022-12-07 7:52 Xinkuan Yan
2022-12-07 16:15 ` Cyril Hrubis
0 siblings, 1 reply; 2+ messages in thread
From: Xinkuan Yan @ 2022-12-07 7:52 UTC (permalink / raw)
To: ltp
Hello list,
Green hand here to ask a question about thost realtime tests, I mean, tests
under this folder:
/opt/ltp/testcases/realtime/func
I surely knew that those tests could be started with 'run_auto.sh', and
most of them provide reports with PASS or FAIL.
The question for me is that is it possible to use the script file 'runltp'
to start those tests?
I have read the doc ltp-run-files.txt but I did not quite get to it.
Any guidance is appreciated!
Yan
--
Mailing list info: https://lists.linux.it/listinfo/ltp
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [LTP] About those realtime tests.
2022-12-07 7:52 [LTP] About those realtime tests Xinkuan Yan
@ 2022-12-07 16:15 ` Cyril Hrubis
0 siblings, 0 replies; 2+ messages in thread
From: Cyril Hrubis @ 2022-12-07 16:15 UTC (permalink / raw)
To: Xinkuan Yan; +Cc: ltp
Hi!
> Green hand here to ask a question about thost realtime tests, I mean, tests
> under this folder:
>
> /opt/ltp/testcases/realtime/func
>
> I surely knew that those tests could be started with 'run_auto.sh', and
> most of them provide reports with PASS or FAIL.
>
> The question for me is that is it possible to use the script file 'runltp'
> to start those tests?
>
> I have read the doc ltp-run-files.txt but I did not quite get to it.
>
> Any guidance is appreciated!
I do not think that writing realtime tests runtest file is an easy task.
First of all there is a profile/default that has harcoded constants that
worked once for someone running the testsuite, but that is supposed to
be tweaked. There are no good values for these constants, these have to
be tailored to a machine and usecase. Moreover some of these tests does
not even interpret the results and just return measurements, these can't
be integrated into a runtest file at all.
Secondly runtest files are suppose to have one test per entry, so you
would have to pick up how binaries are executed in run_auto.sh files in
the func/*/ directories and use the default values from the default
profile in the cases. And that only works for the subset of tests that
does report pass/fail status in the exit value.
--
Cyril Hrubis
chrubis@suse.cz
--
Mailing list info: https://lists.linux.it/listinfo/ltp
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-12-07 16:14 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-12-07 7:52 [LTP] About those realtime tests Xinkuan Yan
2022-12-07 16:15 ` Cyril Hrubis
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox