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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Signed-off-by: Gabriel Krisman Bertazi <krisman@xxxxxxxxxxxxxxx>
---
 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@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/intel-gfx




[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux