[igt-dev] [PATCH i-g-t v2] tests/kms_display_modes: Test cleanup

Petri Latvala petri.latvala at intel.com
Fri Oct 14 08:54:49 UTC 2022


On Fri, Oct 14, 2022 at 01:32:55PM +0530, Jeevan B wrote:
> Signed-off-by: Jeevan B <jeevan.b at intel.com>
> ---
>  tests/kms_display_modes.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/tests/kms_display_modes.c b/tests/kms_display_modes.c
> index eff30cbb..9a2199d3 100644
> --- a/tests/kms_display_modes.c
> +++ b/tests/kms_display_modes.c
> @@ -162,7 +162,7 @@ igt_main
>  	igt_subtest_with_dynamic("extended-mode-basic") {
>  		for (i = 0; i < data.n_pipes - 1; i++) {
>  			igt_dynamic_f("pipe-%s%s", kmstest_pipe_name(pipe[i]),
> -					kmstest_pipe_name(pipe[i+1]));
> +					kmstest_pipe_name(pipe[i+1]))
>  			run_extendedmode_basic(&data, pipe[i], pipe[i+1]);
>  		}
>  	}

Commit message says "test cleanup" but this is a bugfix, please
rewrite it.

While at it, fix the indentation of the line
run_extendedmode_basic(&data, pipe[i], pipe[i+1]);


-- 
Petri Latvala


More information about the igt-dev mailing list