[igt-dev] [PATCH i-g-t 1/3] igt_doc: Add driver name list at JSON configuration

Kamil Konieczny kamil.konieczny at linux.intel.com
Wed Nov 29 15:39:36 UTC 2023


Hi Mauro,
On 2023-11-29 at 13:25:34 +0100, Mauro Carvalho Chehab wrote:

subject is still wrong: 

[PATCH i-g-t 1/3] igt_doc: Add driver name list at JSON configuration

imho should be:

[PATCH i-g-t 1/3] scripts/test_list: Add driver name list at configuration

With that fixed you can add my r-b.

Regards,
Kamil

> 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