[PATCH i-g-t] tests/kms_ccs: Skip pipe when there isn't a valid output
Gabriel Krisman Bertazi
krisman at collabora.co.uk
Tue Dec 12 15:17:37 UTC 2017
Signed-off-by: Gabriel Krisman Bertazi <krisman at collabora.co.uk>
---
tests/kms_ccs.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/tests/kms_ccs.c b/tests/kms_ccs.c
index 23a225ee883f..dd1ce2a203fc 100644
--- a/tests/kms_ccs.c
+++ b/tests/kms_ccs.c
@@ -463,6 +463,10 @@ static void test_output(data_t *data)
break;
}
+ igt_skip_on_f(!igt_pipe_connector_valid(data->pipe, data->output)
+ "No output for pipe %c\n",
+ kmstest_pipe_name(data->pipe));
+
igt_output_set_pipe(data->output, data->pipe);
if (data->flags & TEST_CRC) {
--
2.15.1
More information about the Intel-gfx-trybot
mailing list