[PATCH i-g-t 0/3] lib/kunit: Fixes and enhancements
Janusz Krzysztofik
janusz.krzysztofik at linux.intel.com
Mon Jul 22 08:01:01 UTC 2024
An issue has been discovered when running an IGT kunit test with a dynamic
sub-subtest specified: only the first kunit test case of a test suite can
be actually executed. Selecting a test case other than the first one
results in "Unloading test module failed, not executing more selftests."
message being displayed and no single test case (dynamic sub-subtest)
executed.
Besides, an optional 'suite' argument was used as a KUnit filter_glob
when we were loading KUnit test module once per IGT subtest. Since we are
now loading the module once per IGT dynamic sub-subtest, we use
test_suite.test_case obtained from a list of test cases as filter_glob.
Resolve the above issues, and also update an inline comment to emphasize
the fact that test case list of unknown length we want to avoid parsing of
is an unstructured free text list.
Janusz Krzysztofik (3):
lib/kunit: Fix selective execution of test cases
lib/kunit: Drop 'suite' from __igt_kunit arguments list
lib/kunit: Improve a comment on action=list parameter
lib/igt_kmod.c | 21 +++++++--------------
1 file changed, 7 insertions(+), 14 deletions(-)
--
2.45.2
More information about the Intel-gfx
mailing list