Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH i-g-t] tests/intel/kms_draw_crc: Add more logs to skips/failure
@ 2025-02-13  9:47 Pranay Samala
  2025-02-13 11:33 ` ✓ Xe.CI.BAT: success for " Patchwork
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Pranay Samala @ 2025-02-13  9:47 UTC (permalink / raw)
  To: igt-dev; +Cc: karthik.b.s, sameer.lattannavar, pranay.samala

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


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

end of thread, other threads:[~2025-02-14  2:30 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-02-13  9:47 [PATCH i-g-t] tests/intel/kms_draw_crc: Add more logs to skips/failure Pranay Samala
2025-02-13 11:33 ` ✓ Xe.CI.BAT: success for " 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

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