[igt-dev] [PATCH i-g-t v4 10/11] scripts/doc_to_xls.py: expand GPU excluded platform

Kamil Konieczny kamil.konieczny at linux.intel.com
Fri Sep 8 17:56:14 UTC 2023


Hi Mauro,
On 2023-09-08 at 10:27:46 +0200, Mauro Carvalho Chehab wrote:
> From: Mauro Carvalho Chehab <mchehab at kernel.org>
> 
> As this item reflect blacklists, better to expand it at the
> spreadsheet, as it makes easier to filter for it.
> 
> Signed-off-by: Mauro Carvalho Chehab <mchehab at kernel.org>
> ---
>  scripts/doc_to_xls.py | 6 +++++-
>  1 file changed, 5 insertions(+), 1 deletion(-)
> 
> diff --git a/scripts/doc_to_xls.py b/scripts/doc_to_xls.py
> index 8531eeb81779..3af3488928cf 100755
> --- a/scripts/doc_to_xls.py
> +++ b/scripts/doc_to_xls.py
> @@ -48,6 +48,10 @@ for config_file in parse_args.config:
>  wb = Workbook()
>  ws = None
>  
> +expand_fields = {
> +    "GPU excluded platform": "blacklist "
------------------------------------------^
Is it ok to have space there?

Regards,
Kamil

> +}
> +
>  for row in range(len(tests)):
>      test = tests[row]
>      sheet_name = test.title
> @@ -58,7 +62,7 @@ for row in range(len(tests)):
>      else:
>          ws = wb.create_sheet(sheet_name)
>  
> -    sheet = test.get_spreadsheet()
> +    sheet = test.get_spreadsheet(expand_fields)
>  
>      max_length = []
>      for col in range(len(sheet[row])):
> -- 
> 2.41.0
> 


More information about the igt-dev mailing list