tools: Add a selftests_run target
PATCH 1/1 tools: Add a selftests_run target
From: Borislav Petkov <[email protected]>
With it, you can do
$ make tools/selftests_run
from the toplevel kernel repo and it'll run all selftests. Don't forget the -j.
Signed-off-by Borislav Petkov <[email protected]>
--- tools/Makefile | 3 +++ 1 file changed, 3 insertions(+)
tools/Makefile +3 -0
@@ -73,6 +73,9 @@ perf: FORCE selftests: FORCE $(call descend,testing/$@) +selftests_run: + $(call descend,testing/selftests run_tests) + turbostat x86_energy_perf_policy: FORCE $(call descend,power/x86/$@)
Signature · 1 line
2.3.5
Quoted 8 lines · Borislav Petkov
From: Borislav Petkov <[email protected]>
With it, you can do
$ make tools/selftests_runfrom the toplevel kernel repo and it'll run all selftests. Don't forget the -j.
OK. You can already do:
$ make kselftest
Is this better for some reason?
cheers
Quoted 6 lines · Michael Ellerman
OK. You can already do:
$ make kselftestIs this better for some reason?
No, I missed that there is even one in the top-level Makefile. And doing
make tools/help
shows only the "selftests" one. I should add kselftest to tools/Makefile's help instead.
Thanks.
Signature · 4 lines
Regards/Gruss,
Boris.
ECO tip #101: Trim your mails when you reply.