[PATCH i-g-t] scripts/igt_doc.py: store igt test names in lowercase
Mauro Carvalho Chehab
mauro.chehab at linux.intel.com
Wed Mar 6 06:53:58 UTC 2024
From: Mauro Carvalho Chehab <mchehab at kernel.org>
IGT runner is case insensitive, so, for machine, it doesn't matter.
Yet, as dictionaries are case sensitive, better to place the tests
on a canonical form, e. g. in lower case.
Signed-off-by: Mauro Carvalho Chehab <mchehab at kernel.org>
---
scripts/igt_doc.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/scripts/igt_doc.py b/scripts/igt_doc.py
index 1cb8e617abca..fa2c2c7ca146 100755
--- a/scripts/igt_doc.py
+++ b/scripts/igt_doc.py
@@ -98,6 +98,7 @@ class IgtTestList(TestList):
tests_per_list[driver] = {}
for subname, subtest in subtest_dict.items():
+ subname = subname.lower()
run_types = subtest.get("Run type", "other").lower()
run_type_dict = self._get_run_type_drivers(run_types)
--
2.43.2
More information about the igt-dev
mailing list