[PATCH] script/test_list: fix a document generator bug

Kamil Konieczny kamil.konieczny at linux.intel.com
Tue Jul 8 17:02:52 UTC 2025


Hi Michael,
On 2025-07-08 at 11:02:07 -0400, Michael J. Ruhl wrote:
> Remove an extra 'f' from the print() function.
> 
> Fixes: b9c6750f935f ("scripts/test_list: Do not stop the build if documentation fails")
> Signed-off-by: Michael J. Ruhl <michael.j.ruhl at intel.com>

Nice catch, thanks!
Reviewed-by: Kamil Konieczny <kamil.konieczny at linux.intel.com>

> ---
>  scripts/test_list.py | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/scripts/test_list.py b/scripts/test_list.py
> index 5f1b4218b..cb2fb054c 100644
> --- a/scripts/test_list.py
> +++ b/scripts/test_list.py
> @@ -1427,7 +1427,7 @@ class TestList:
>                      continue
>  
>                  file_line.rstrip(r"\n")
> -                printf(f"{fname}:{file_ln + 1}: Warning: unrecognized line. Need to add field at %s?\n\t==> %s" %
> +                print(f"{fname}:{file_ln + 1}: Warning: unrecognized line. Need to add field at %s?\n\t==> %s" %
>                           (config_origin, file_line))
>  
>      def show_subtests(self, sort_field):
> -- 
> 2.50.0
> 


More information about the igt-dev mailing list