All of lore.kernel.org
 help / color / mirror / Atom feed
* [igt-dev] [i-g-t] tests/kms_cursor_edge_walk: Fix test requirement to avoid SKIPs
@ 2022-06-24  4:35 Bhanuprakash Modem
  2022-06-24  5:20 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Bhanuprakash Modem @ 2022-06-24  4:35 UTC (permalink / raw)
  To: igt-dev

As (54ff3199) introduced dynamic subtets, tests are getting Skipped
on all pipes except pipe-A.

This patch will fix the test requirement condition to avoid such skips.

Fixes: https://gitlab.freedesktop.org/drm/intel/-/issues/6250
Signed-off-by: Bhanuprakash Modem <bhanuprakash.modem@intel.com>
---
 tests/kms_cursor_edge_walk.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/tests/kms_cursor_edge_walk.c b/tests/kms_cursor_edge_walk.c
index 526bc6b3..af3769db 100644
--- a/tests/kms_cursor_edge_walk.c
+++ b/tests/kms_cursor_edge_walk.c
@@ -347,11 +347,12 @@ igt_main_args("", long_opts, help_str, opt_handler, &data)
 		for (i = 0; i < ARRAY_SIZE(tests); i++) {
 			igt_subtest_with_dynamic(tests[i].name) {
 				for_each_pipe(&data.display, data.pipe) {
-					igt_require(data.curw <= max_curw && data.curh <= max_curh);
 					data.output = igt_get_single_output_for_pipe(&data.display, data.pipe);
 
 					for (data.curw = 64; data.curw <= 256; data.curw *= 2) {
 						data.curh = data.curw;
+						igt_require(data.curw <= max_curw && data.curh <= max_curh);
+
 						igt_dynamic_f("pipe-%s-%s-%dx%d",
 							      kmstest_pipe_name(data.pipe),
 							      data.output->name,
-- 
2.35.1

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

end of thread, other threads:[~2022-06-28 12:28 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-24  4:35 [igt-dev] [i-g-t] tests/kms_cursor_edge_walk: Fix test requirement to avoid SKIPs Bhanuprakash Modem
2022-06-24  5:20 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork
2022-06-27 11:37 ` [igt-dev] ✓ Fi.CI.BAT: success for tests/kms_cursor_edge_walk: Fix test requirement to avoid SKIPs (rev2) Patchwork
2022-06-27 17:47 ` [igt-dev] ✓ Fi.CI.IGT: success for tests/kms_cursor_edge_walk: Fix test requirement to avoid SKIPs Patchwork
2022-06-27 23:52 ` [igt-dev] ✗ Fi.CI.IGT: failure for tests/kms_cursor_edge_walk: Fix test requirement to avoid SKIPs (rev2) Patchwork
2022-06-28 12:28 ` [igt-dev] [i-g-t] tests/kms_cursor_edge_walk: Fix test requirement to avoid SKIPs Sharma, Swati2

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.