[igt-dev] [PATCH i-g-t 1/3] igt_doc: Add driver name list at JSON configuration
Mauro Carvalho Chehab
mauro.chehab at linux.intel.com
Wed Nov 29 12:25:34 UTC 2023
From: Mauro Carvalho Chehab <mchehab at kernel.org>
Add an optional field at JSON configuration to allow specifying
driver name(s).
Signed-off-by: Mauro Carvalho Chehab <mchehab at kernel.org>
---
scripts/test_list.py | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/scripts/test_list.py b/scripts/test_list.py
index 3954e883ada3..7e0e45ca3732 100644
--- a/scripts/test_list.py
+++ b/scripts/test_list.py
@@ -289,6 +289,11 @@ class TestList:
cfg_path = "./"
driver_name = main_name
+ if "drivers" in self.config:
+ self.drivers = self.config["drivers"]
+ else:
+ self.drivers = [driver_name]
+
if sources_path:
cfg_path = os.path.realpath(sources_path) + "/"
--
2.42.0
More information about the igt-dev
mailing list