linux-test-project / kirk

Kirk application aims to merge multiple Linux testing frameworks in one tool.
GNU General Public License v2.0
6 stars 7 forks source link

Kselftest run all subsuites #22

Open roxell opened 4 months ago

roxell commented 4 months ago

Make it possible to run all kselftest subsuites.

Also made it possible to set the KSELFTESTROOT and the LTPROOT via '--env'.

acerv commented 4 months ago

Our first implementation was exactly this one: we took a kselftests folder and we run all tests inside it. The problem came when ebpf kselftests were supported: in that case we needed to ask test_progs --list the available tests in the suite.

At the same time, each kselftests suite doesn't follow any rule. Most of the times they use their own framework or plain C to test some features of the kernel. This (of course) requires a separate function for each one of them (and there it comes the new implementation).