]> www.infradead.org Git - users/jedix/linux-maple.git/commit
kunit: tool: Parse skipped tests from kselftest.h
authorThomas Weißschuh <thomas.weissschuh@linutronix.de>
Wed, 13 Aug 2025 06:32:13 +0000 (08:32 +0200)
committerShuah Khan <skhan@linuxfoundation.org>
Fri, 15 Aug 2025 17:43:12 +0000 (11:43 -0600)
commitbd80c4d6e4b0f3060b00d9d2337c595c6bb1c88f
tree4a61dba61b27f89ea866a22b930ea7638df589ea
parent29128da29dbabfe567c0133bf069052d2d5d588c
kunit: tool: Parse skipped tests from kselftest.h

Skipped tests reported by kselftest.h use a different format than KTAP,
there is no explicit test name. Normally the test name is part of the
free-form string after the SKIP keyword:

ok 3 # SKIP test: some reason

Extend the parser to handle those correctly. Use the free-form string as
test name instead.

Link: https://lore.kernel.org/r/20250813-kunit-kselftesth-skip-v1-1-57ae3de4f109@linutronix.de
Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de>
Reviewed-by: David Gow <davidgow@google.com>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
tools/testing/kunit/kunit_parser.py
tools/testing/kunit/test_data/test_is_test_passed-kselftest.log