[PATCH i-g-t] scripts/igt_doc.py: store igt test names in lowercase

Kamil Konieczny kamil.konieczny at linux.intel.com
Wed Mar 6 09:25:40 UTC 2024


Hi Mauro,
On 2024-03-06 at 07:53:58 +0100, Mauro Carvalho Chehab wrote:
> 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>

Reviewed-by: Kamil Konieczny <kamil.konieczny at linux.intel.com>

> ---
>  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