[igt-dev] [PATCH i-g-t] tests/kms_dp_tiled_display: Skip the test when all the tiled connectors are not connected

Manasi Navare manasi.d.navare at intel.com
Fri Dec 13 03:07:57 UTC 2019


Thank you for your patch, pushed to igt

On Thu, Dec 12, 2019 at 11:56:22AM +0530, Karthik B S wrote:
> The test expects all the tiled connectors to be connected for execution.
> If all the tiled connectors are not connected, then skip the test.
> 
> Signed-off-by: Karthik B S <karthik.b.s at intel.com>
> ---
>  tests/kms_dp_tiled_display.c | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/tests/kms_dp_tiled_display.c b/tests/kms_dp_tiled_display.c
> index 175ff12..6bde7cf 100644
> --- a/tests/kms_dp_tiled_display.c
> +++ b/tests/kms_dp_tiled_display.c
> @@ -159,6 +159,8 @@ static void get_connectors(data_t *data)
>  
>  		count++;
>  	}
> +	igt_require_f(count == data->num_h_tiles,
> +		     "All the tiled connectors are not connected\n");
>  }
>  
>  static void
> -- 
> 2.7.4
> 


More information about the igt-dev mailing list