]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
kunit: Add --list_suites to show suites
authorRyota Sakamoto <sakamo.ryota@gmail.com>
Thu, 12 Feb 2026 16:37:32 +0000 (01:37 +0900)
committerShuah Khan <skhan@linuxfoundation.org>
Mon, 6 Apr 2026 19:47:52 +0000 (13:47 -0600)
commitb5f92fc4a7ac57c88a4ac600cf401171b3ea3b5f
tree5df92b1f4212ba910e6c138e222ae05a0acf6bc1
parent591cd656a1bf5ea94a222af5ef2ee76df029c1d2
kunit: Add --list_suites to show suites

Currently, kunit.py allows listing all individual tests via --list_tests.
However, users often need to see only the available test suites.

Add --list_suites to show suites. This option parses the test list output
from the kernel and prints only the suite names.

Example of the output of --list_suites:
  example_init
  miscdev_init
  printk-ringbuffer

Signed-off-by: Ryota Sakamoto <sakamo.ryota@gmail.com>
Reviewed-by: David Gow <david@davidgow.net>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
tools/testing/kunit/kunit.py
tools/testing/kunit/kunit_tool_test.py