[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
karthik.b.s at intel.com
Thu Dec 12 06:26:22 UTC 2019
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 at 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
More information about the igt-dev
mailing list