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

Gabriel Krisman Bertazi krisman at collabora.co.uk
Tue Jun 20 04:11:27 UTC 2017


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



More information about the Intel-gfx mailing list