linux-test-project / ltp

Linux Test Project (mailing list: https://lists.linux.it/listinfo/ltp)
https://linux-test-project.readthedocs.io/
GNU General Public License v2.0
2.28k stars 999 forks source link

Am I running test properly? #995

Closed lucky33newman closed 1 year ago

lucky33newman commented 1 year ago

Hello guys,

I am running LTP in qemu, it has been installed to /opt/ltp.

I wanna run all the tests under this path:

root@qemux86-64:/opt/ltp/testcases/realtime/func# pwd /opt/ltp/testcases/realtime/func

I can see a lot of folders here:

root@qemux86-64:/opt/ltp/testcases/realtime/func# ls async_handler gtod_latency hrtimer-prio matrix_mult measurement periodic_cpu_load pi-tests pi_perf prio-preempt prio-wake pthread_kill_latency rt-migrate sched_football sched_jitter sched_latency thread_clock

I think they are tests, and I want to run them.

Now, I enter the folder, take an example:

root@qemux86-64:/opt/ltp/testcases/realtime/func/async_handler# ls async_handler async_handler_jk async_handler_tsc run_auto.sh

I can see run_auto.sh, so I run command:

sh ./run_auto.sh

Latter on the test began, so, the question is, am I running the tests properly? Can I call such tests from the 'runltp'?

Thanks.

metan-ucw commented 1 year ago

The realtime part was never integrated into LTP. It does not make sense to do so because most of the realtime tests just reports measurements and it's up to the tester to interpret the results. Even the functionality tests have hardcoded default pass criteria that are certainly not universal.

lucky33newman commented 1 year ago

Thanks for helping. 👍

pevik commented 1 year ago

If you care about realtime, run https://git.kernel.org/pub/scm/utils/rt-tests/rt-tests.git

lucky33newman commented 1 year ago

Thanks, I'll check it out.

Best, Yan

Petr Vorel @.***> 于2022年11月24日周四 16:40写道:

If you care about realtime, run https://git.kernel.org/pub/scm/utils/rt-tests/rt-tests.git

— Reply to this email directly, view it on GitHub https://github.com/linux-test-project/ltp/issues/995#issuecomment-1326122152, or unsubscribe https://github.com/notifications/unsubscribe-auth/AWBCZ3OI6SDDAD7SJP6DPHDWJ4SXNANCNFSM6AAAAAASGLIYIU . You are receiving this because you modified the open/close state.Message ID: @.***>