[igt-dev] [PATCH i-g-t v2] Fix IGT Warnings due to dynamic subtest inclusion

Zbigniew Kempczyński zbigniew.kempczynski at intel.com
Tue Nov 10 09:13:26 UTC 2020


On Tue, Nov 10, 2020 at 12:37:47PM +0530, nidhi1.gupta at intel.com wrote:
> From: Nidhi Gupta <nidhi1.gupta at intel.com>
> 
> Signed-off-by: Nidhi Gupta <nidhi1.gupta at intel.com>
> ---
>  tests/kms_atomic_interruptible.c | 14 +++++++-------
>  1 file changed, 7 insertions(+), 7 deletions(-)
> 
> diff --git a/tests/kms_atomic_interruptible.c b/tests/kms_atomic_interruptible.c
> index 27bb6a2b..3ba75089 100644
> --- a/tests/kms_atomic_interruptible.c
> +++ b/tests/kms_atomic_interruptible.c
> @@ -288,7 +288,7 @@ igt_main
>  		for_each_pipe_with_valid_output(&display, pipe, output) {
>  			igt_dynamic_f("%s-pipe-%s", igt_output_name(output), kmstest_pipe_name(pipe))
>  				run_plane_test(&display, pipe, output, test_legacy_modeset, DRM_PLANE_TYPE_PRIMARY);
> -				break;
> +			break;
>  		}
>  	}
>  
> @@ -296,7 +296,7 @@ igt_main
>  		for_each_pipe_with_valid_output(&display, pipe, output) {
>  			igt_dynamic_f("%s-pipe-%s", igt_output_name(output), kmstest_pipe_name(pipe))
>  				run_plane_test(&display, pipe, output, test_atomic_modeset, DRM_PLANE_TYPE_PRIMARY);
> -				break;
> +			break;
>  		}
>  	}
>  
> @@ -304,7 +304,7 @@ igt_main
>  		for_each_pipe_with_valid_output(&display, pipe, output) {
>  			igt_dynamic_f("%s-pipe-%s", igt_output_name(output), kmstest_pipe_name(pipe))
>  				run_plane_test(&display, pipe, output, test_legacy_dpms, DRM_PLANE_TYPE_PRIMARY);
> -				break;
> +			break;
>  		}
>  	}
>  
> @@ -312,7 +312,7 @@ igt_main
>  		for_each_pipe_with_valid_output(&display, pipe, output) {
>  			igt_dynamic_f("%s-pipe-%s", igt_output_name(output), kmstest_pipe_name(pipe))
>  				run_plane_test(&display, pipe, output, test_pageflip, DRM_PLANE_TYPE_PRIMARY);
> -				break;
> +			break;
>  		}
>  	}
>  
> @@ -320,7 +320,7 @@ igt_main
>  		for_each_pipe_with_valid_output(&display, pipe, output) {
>  			igt_dynamic_f("%s-pipe-%s", igt_output_name(output), kmstest_pipe_name(pipe))
>  				run_plane_test(&display, pipe, output, test_setcursor, DRM_PLANE_TYPE_CURSOR);
> -				break;
> +			break;
>  		}
>  	}
>  
> @@ -328,7 +328,7 @@ igt_main
>  		for_each_pipe_with_valid_output(&display, pipe, output) {
>  			igt_dynamic_f("%s-pipe-%s", igt_output_name(output), kmstest_pipe_name(pipe))
>  				run_plane_test(&display, pipe, output, test_setplane, DRM_PLANE_TYPE_PRIMARY);
> -				break;
> +			break;
>  		}
>  	}
>  
> @@ -336,7 +336,7 @@ igt_main
>  		for_each_pipe_with_valid_output(&display, pipe, output) {
>  			igt_dynamic_f("%s-pipe-%s", igt_output_name(output), kmstest_pipe_name(pipe))
>  				run_plane_test(&display, pipe, output, test_setplane, DRM_PLANE_TYPE_CURSOR);
> -				break;
> +			break;
>  		}
>  	}
>  
> -- 
> 2.26.2
>

Now it is ok:

Reviewed-by: Zbigniew Kempczyński <zbigniew.kempczynski at intel.com>

--
Zbigniew 


More information about the igt-dev mailing list