Open roxell opened 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).
Make it possible to run all kselftest subsuites.
Also made it possible to set the KSELFTESTROOT and the LTPROOT via '--env'.