From 48da0e69adbf086c560a4e3175a16b85a1662bbd Mon Sep 17 00:00:00 2001 From: Thomas Wood Date: Thu, 4 Sep 2014 17:00:16 +0100 Subject: tests/kms_3d: skip if connectors cannot be forced Signed-off-by: Thomas Wood --- tests/kms_3d.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tests/kms_3d.c') diff --git a/tests/kms_3d.c b/tests/kms_3d.c index ddf4dc67..c11873bd 100644 --- a/tests/kms_3d.c +++ b/tests/kms_3d.c @@ -60,7 +60,8 @@ igt_simple_main &length); kmstest_force_edid(drm_fd, connector, edid, length); - kmstest_force_connector(drm_fd, connector, FORCE_CONNECTOR_ON); + if (!kmstest_force_connector(drm_fd, connector, FORCE_CONNECTOR_ON)) + igt_skip("Could not force connector on\n"); connector_id = connector->connector_id; -- cgit v1.2.3