From: Pranay Samala <pranay.samala@intel.com>
To: igt-dev@lists.freedesktop.org
Cc: karthik.b.s@intel.com, sameer.lattannavar@intel.com,
pranay.samala@intel.com
Subject: [PATCH i-g-t] tests/intel/kms_draw_crc: Add more logs to skips/failure
Date: Thu, 13 Feb 2025 15:17:32 +0530 [thread overview]
Message-ID: <20250213094732.706414-1-pranay.samala@intel.com> (raw)
Having some logs for test failures or skips would
make debugging much easier.
Signed-off-by: Pranay Samala <pranay.samala@intel.com>
---
tests/intel/kms_draw_crc.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/tests/intel/kms_draw_crc.c b/tests/intel/kms_draw_crc.c
index 30a09389e..f8ce4f71f 100644
--- a/tests/intel/kms_draw_crc.c
+++ b/tests/intel/kms_draw_crc.c
@@ -333,6 +333,7 @@ igt_main
enum igt_draw_method method;
int format_idx, modifier_idx;
uint64_t modifier;
+ bool flag = false;
igt_fixture
setup_environment();
@@ -352,6 +353,7 @@ igt_main
if (!igt_display_has_format_mod(&display, formats[format_idx], modifier))
continue;
+ flag = true;
igt_dynamic_f("%s-%s",
format_str(format_idx),
modifier_str(modifier_idx))
@@ -359,6 +361,8 @@ igt_main
modifier);
}
}
+ if (!flag)
+ igt_info("Display doesn't supports any required formats/modifiers.\n");
}
}
--
2.34.1
next reply other threads:[~2025-02-13 9:42 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-02-13 9:47 Pranay Samala [this message]
2025-02-13 11:33 ` ✓ Xe.CI.BAT: success for tests/intel/kms_draw_crc: Add more logs to skips/failure Patchwork
2025-02-13 11:48 ` ✓ i915.CI.BAT: " Patchwork
2025-02-13 12:01 ` [PATCH i-g-t] " Krzysztof Karas
2025-02-13 18:41 ` ✗ i915.CI.Full: failure for " Patchwork
2025-02-14 2:30 ` ✗ Xe.CI.Full: " 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=20250213094732.706414-1-pranay.samala@intel.com \
--to=pranay.samala@intel.com \
--cc=igt-dev@lists.freedesktop.org \
--cc=karthik.b.s@intel.com \
--cc=sameer.lattannavar@intel.com \
/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