public inbox for igt-dev@lists.freedesktop.org
 help / color / mirror / Atom feed
* [igt-dev] [PATCH i-g-t] HAX tests/kms_cursor: add debug prints to see which stage fails
@ 2019-10-16 19:47 Juha-Pekka Heikkila
  2019-10-16 22:16 ` [igt-dev] ✗ Fi.CI.BAT: failure for " Patchwork
  2019-10-17 12:10 ` [igt-dev] ✗ Fi.CI.BAT: failure for HAX tests/kms_cursor: add debug prints to see which stage fails (rev2) Patchwork
  0 siblings, 2 replies; 3+ messages in thread
From: Juha-Pekka Heikkila @ 2019-10-16 19:47 UTC (permalink / raw)
  To: igt-dev

ignore. sending this here since igt trybot is dead.

Signed-off-by: Juha-Pekka Heikkila <juhapekka.heikkila@gmail.com>
---
 tests/kms_cursor_crc.c | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/tests/kms_cursor_crc.c b/tests/kms_cursor_crc.c
index d0fb8f1..a925620 100644
--- a/tests/kms_cursor_crc.c
+++ b/tests/kms_cursor_crc.c
@@ -261,16 +261,23 @@ static void test_crc_onscreen(data_t *data)
 	int cursor_h = data->curh;
 
 	/* fully inside  */
+	igt_info("\nfully inside\n");
 	do_test(data, left, right, top, bottom);
 
 	/* 2 pixels inside */
+	igt_info("\n2 pixels inside  1\n");
 	do_test(data, left - (cursor_w-2), right + (cursor_w-2), top               , bottom               );
+	igt_info("\n2 pixels inside  2\n");
 	do_test(data, left               , right               , top - (cursor_h-2), bottom + (cursor_h-2));
+	igt_info("\n2 pixels inside  3\n");
 	do_test(data, left - (cursor_w-2), right + (cursor_w-2), top - (cursor_h-2), bottom + (cursor_h-2));
 
 	/* 1 pixel inside */
+	igt_info("\n1 pixel inside  1\n");
 	do_test(data, left - (cursor_w-1), right + (cursor_w-1), top               , bottom               );
+	igt_info("\n1 pixel inside  2\n");
 	do_test(data, left               , right               , top - (cursor_h-1), bottom + (cursor_h-1));
+	igt_info("\n1 pixel inside  3\n");
 	do_test(data, left - (cursor_w-1), right + (cursor_w-1), top - (cursor_h-1), bottom + (cursor_h-1));
 }
 
-- 
2.7.4

_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-10-17 12:10 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-10-16 19:47 [igt-dev] [PATCH i-g-t] HAX tests/kms_cursor: add debug prints to see which stage fails Juha-Pekka Heikkila
2019-10-16 22:16 ` [igt-dev] ✗ Fi.CI.BAT: failure for " Patchwork
2019-10-17 12:10 ` [igt-dev] ✗ Fi.CI.BAT: failure for HAX tests/kms_cursor: add debug prints to see which stage fails (rev2) Patchwork

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox