From: Juha-Pekka Heikkila <juhapekka.heikkila@gmail.com>
To: igt-dev@lists.freedesktop.org
Subject: [igt-dev] [PATCH i-g-t] HAX tests/kms_cursor: add debug prints to see which stage fails
Date: Wed, 16 Oct 2019 22:47:22 +0300 [thread overview]
Message-ID: <1571255242-15273-1-git-send-email-juhapekka.heikkila@gmail.com> (raw)
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
next reply other threads:[~2019-10-16 19:47 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-10-16 19:47 Juha-Pekka Heikkila [this message]
2019-10-16 22:16 ` [igt-dev] ✗ Fi.CI.BAT: failure for HAX tests/kms_cursor: add debug prints to see which stage fails 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1571255242-15273-1-git-send-email-juhapekka.heikkila@gmail.com \
--to=juhapekka.heikkila@gmail.com \
--cc=igt-dev@lists.freedesktop.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox