[PATCH i-g-t 01/10] scripts/xls_to_doc.py: make the message about wildcards clearer

Kamil Konieczny kamil.konieczny at linux.intel.com
Thu Mar 14 15:29:58 UTC 2024


Hi Mauro,
On 2024-03-14 at 11:29:10 +0100, Mauro Carvalho Chehab wrote:
> From: Mauro Carvalho Chehab <mchehab at kernel.org>
> 
> Automatically creating/updating wildcards is not an easy task.
> This script can't do it, so make it clearer that it will be
> skipped.
> 
> Signed-off-by: Mauro Carvalho Chehab <mchehab at kernel.org>

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

> ---
>  scripts/xls_to_doc.py | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/scripts/xls_to_doc.py b/scripts/xls_to_doc.py
> index a7eaeead1a49..f47d56719bfe 100755
> --- a/scripts/xls_to_doc.py
> +++ b/scripts/xls_to_doc.py
> @@ -294,7 +294,7 @@ class FillTests(TestList):
>                      doc_value = doc_content.get(field)
>                      if doc_value:
>                          if self.key_has_wildcard.search(doc_value):
> -                            print(f"Warning: {subtest} field {field} has wildcards.")
> +                            print(f"Warning: {subtest} field {field} has wildcards. Skipping it.")
>                              continue
>                          if doc_value == value:
>                              if self.verbose > 1:
> -- 
> 2.43.2
> 


More information about the igt-dev mailing list