Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [igt-dev] [PATCH i-g-t] tests/kms_dp_tiled_display: Skip the test when all the tiled connectors are not connected
@ 2019-12-12  6:26 Karthik B S
  2019-12-12  7:58 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Karthik B S @ 2019-12-12  6:26 UTC (permalink / raw)
  To: igt-dev

The test expects all the tiled connectors to be connected for execution.
If all the tiled connectors are not connected, then skip the test.

Signed-off-by: Karthik B S <karthik.b.s@intel.com>
---
 tests/kms_dp_tiled_display.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/tests/kms_dp_tiled_display.c b/tests/kms_dp_tiled_display.c
index 175ff12..6bde7cf 100644
--- a/tests/kms_dp_tiled_display.c
+++ b/tests/kms_dp_tiled_display.c
@@ -159,6 +159,8 @@ static void get_connectors(data_t *data)
 
 		count++;
 	}
+	igt_require_f(count == data->num_h_tiles,
+		     "All the tiled connectors are not connected\n");
 }
 
 static void
-- 
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] 5+ messages in thread

end of thread, other threads:[~2019-12-13  3:07 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-12-12  6:26 [igt-dev] [PATCH i-g-t] tests/kms_dp_tiled_display: Skip the test when all the tiled connectors are not connected Karthik B S
2019-12-12  7:58 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork
2019-12-12 17:41 ` [igt-dev] ✓ Fi.CI.IGT: " Patchwork
2019-12-13  2:22 ` [igt-dev] [PATCH i-g-t] " Manasi Navare
2019-12-13  3:07 ` Manasi Navare

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