Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Lucas De Marchi <lucas.demarchi@intel.com>
To: igt-dev@lists.freedesktop.org
Cc: Janusz Krzysztofik <janusz.krzysztofik@linux.intel.com>,
	Lucas De Marchi <lucas.demarchi@intel.com>
Subject: [PATCH i-g-t 2/3] lib/igt_kmod: Stop handling _kunit suffix
Date: Mon,  4 Nov 2024 21:52:54 -0800	[thread overview]
Message-ID: <20241105055255.2466236-3-lucas.demarchi@intel.com> (raw)
In-Reply-To: <20241105055255.2466236-1-lucas.demarchi@intel.com>

It's not used anywhere anymore. Remove it.

Signed-off-by: Lucas De Marchi <lucas.demarchi@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


  parent reply	other threads:[~2024-11-05  5:53 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-11-05  5:52 [PATCH i-g-t 0/3] lib/igt_kmod: Drop legacy kunit integration Lucas De Marchi
2024-11-05  5:52 ` [PATCH i-g-t 1/3] lib/igt_kmod: Drop legacy kunit fallback Lucas De Marchi
2024-11-05 10:40   ` Janusz Krzysztofik
2024-11-05  5:52 ` Lucas De Marchi [this message]
2024-11-05 10:50   ` [PATCH i-g-t 2/3] lib/igt_kmod: Stop handling _kunit suffix Janusz Krzysztofik
2024-11-05 14:58     ` Lucas De Marchi
2024-11-05 19:04       ` Janusz Krzysztofik
2024-11-05  5:52 ` [PATCH i-g-t 3/3] lib/igt_kmod: Fix leaking subtest name Lucas De Marchi
2024-11-05 10:59   ` Janusz Krzysztofik
2024-11-05 14:13     ` Lucas De Marchi
2024-11-05  8:17 ` ✓ Fi.CI.BAT: success for lib/igt_kmod: Drop legacy kunit integration (rev2) Patchwork
2024-11-05  8:31 ` ✓ CI.xeBAT: " Patchwork
2024-11-05  8:32 ` ✗ CI.xeBAT: failure " Patchwork
2024-11-06  1:24 ` ✗ Fi.CI.IGT: " Patchwork
2024-11-06  7:17 ` ✗ CI.xeFULL: " Patchwork

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20241105055255.2466236-3-lucas.demarchi@intel.com \
    --to=lucas.demarchi@intel.com \
    --cc=igt-dev@lists.freedesktop.org \
    --cc=janusz.krzysztofik@linux.intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox