[PATCH i-g-t 2/3] lib/igt_kmod: Stop handling _kunit suffix
Lucas De Marchi
lucas.demarchi at intel.com
Tue Nov 5 05:52:54 UTC 2024
It's not used anywhere anymore. Remove it.
Signed-off-by: Lucas De Marchi <lucas.demarchi at intel.com>
---
lib/igt_kmod.c | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/lib/igt_kmod.c b/lib/igt_kmod.c
index 4eeab79ec..58edac8fa 100644
--- a/lib/igt_kmod.c
+++ b/lib/igt_kmod.c
@@ -1189,7 +1189,7 @@ static void __igt_kunit(struct igt_ktest *tst,
* if NULL then test cases from all test suites provided by the module
* are executed as dynamic sub-subtests of one IGT subtest, which name
* is derived from the module name by cutting off its optional trailing
- * _test or _kunit suffix
+ * _test suffix
* @opts: options to load the module
*
* Loads the test module, parses its (k)tap dmesg output, then unloads it
@@ -1213,9 +1213,6 @@ void igt_kunit(const char *module_name, const char *suite, const char *opts)
if (!igt_debug_on(!subtest)) {
char *suffix = strstr(subtest, "_test");
- if (!suffix)
- suffix = strstr(subtest, "_kunit");
-
if (suffix)
*suffix = '\0';
}
--
2.47.0
More information about the igt-dev
mailing list