[Intel-gfx] [PATCH I-G-T 1/2] igt/kms_pipe_crc_basic: Print pipe name when skipping

Petri Latvala petri.latvala at intel.com
Tue Jun 20 07:22:26 UTC 2017


The series is

Reviewed-by: Petri Latvala <petri.latvala at intel.com>


On Tue, Jun 20, 2017 at 01:11:27AM -0300, Gabriel Krisman Bertazi wrote:
> Signed-off-by: Gabriel Krisman Bertazi <krisman at collabora.co.uk>
> ---
>  tests/kms_pipe_crc_basic.c | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/tests/kms_pipe_crc_basic.c b/tests/kms_pipe_crc_basic.c
> index f49b434857e6..177211249808 100644
> --- a/tests/kms_pipe_crc_basic.c
> +++ b/tests/kms_pipe_crc_basic.c
> @@ -172,7 +172,8 @@ static void test_read_crc(data_t *data, int pipe, unsigned flags)
>  		valid_connectors ++;
>  	}
>  
> -	igt_require_f(valid_connectors, "No connector found for pipe %i\n", pipe);
> +	igt_require_f(valid_connectors, "No connector found for pipe %s\n",
> +		      kmstest_pipe_name(pipe));
>  }
>  
>  data_t data = {0, };
> -- 
> 2.11.0
> 
> _______________________________________________
> Intel-gfx mailing list
> Intel-gfx at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/intel-gfx


More information about the Intel-gfx mailing list