Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [igt-dev] [PATCH i-g-t] xe_live_ktest: Use xe_live_test kernel module
@ 2023-12-05 22:49 Lucas De Marchi
  2023-12-06  0:04 ` [igt-dev] ✗ Fi.CI.BAT: failure for " Patchwork
                   ` (2 more replies)
  0 siblings, 3 replies; 15+ messages in thread
From: Lucas De Marchi @ 2023-12-05 22:49 UTC (permalink / raw)
  To: igt-dev; +Cc: Lucas De Marchi

https://patchwork.freedesktop.org/series/126786/ groups all the live
tests into a single kernel module. Use that module to run any of the
tests triggered by igt.

Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
---
 tests/intel/xe_live_ktest.c | 15 +++++----------
 1 file changed, 5 insertions(+), 10 deletions(-)

diff --git a/tests/intel/xe_live_ktest.c b/tests/intel/xe_live_ktest.c
index fe7b2e69f..c8bd68928 100644
--- a/tests/intel/xe_live_ktest.c
+++ b/tests/intel/xe_live_ktest.c
@@ -19,15 +19,10 @@
  * Functionality: migrate
  */
 
-struct kunit_tests {
-	const char *kunit;
-	const char *name;
-};
-
-static const struct kunit_tests live_tests[] = {
-	{ "xe_bo_test",		"bo" },
-	{ "xe_dma_buf_test",	"dmabuf" },
-	{ "xe_migrate_test",	"migrate" },
+static const char *live_tests[] = {
+	"bo",
+	"dmabuf",
+	"migrate",
 };
 
 igt_main
@@ -35,5 +30,5 @@ igt_main
 	int i;
 
 	for (i = 0; i < ARRAY_SIZE(live_tests); i++)
-		igt_kunit(live_tests[i].kunit, live_tests[i].name, NULL);
+		igt_kunit("xe_live_test", live_tests[i], NULL);
 }
-- 
2.40.1

^ permalink raw reply related	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2024-01-23 11:18 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-12-05 22:49 [igt-dev] [PATCH i-g-t] xe_live_ktest: Use xe_live_test kernel module Lucas De Marchi
2023-12-06  0:04 ` [igt-dev] ✗ Fi.CI.BAT: failure for " Patchwork
2023-12-06  2:30 ` [igt-dev] ✗ CI.xeBAT: " Patchwork
2023-12-07 15:41 ` [igt-dev] [PATCH i-g-t] " Mauro Carvalho Chehab
     [not found]   ` <3kunqgqyf7tobiwhcpvjp7rcvidrgnz2jq3qqoxjbl7kaftdq7@7hdweo57htff>
     [not found]     ` <njwvai6cu7jwmy7lmg3vkg4jd52uq2f6es4obvdplkz43i6hpe@jqrzk4bveqqc>
2024-01-11 23:45       ` Lucas De Marchi
2024-01-12  8:32         ` Mauro Carvalho Chehab
2024-01-12 14:29           ` Lucas De Marchi
2024-01-15  7:08             ` Mauro Carvalho Chehab
2024-01-15  7:21               ` Jani Nikula
2024-01-15 19:52                 ` Mauro Carvalho Chehab
2024-01-16 14:50                   ` Lucas De Marchi
2024-01-17  6:14                     ` Mauro Carvalho Chehab
2024-01-22 11:35         ` Janusz Krzysztofik
2024-01-22 15:37           ` Lucas De Marchi
2024-01-23 11:18             ` Janusz Krzysztofik

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox