summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Wood <thomas.wood@intel.com>2014-09-04 17:00:16 +0100
committerThomas Wood <thomas.wood@intel.com>2014-09-05 16:52:51 +0100
commit48da0e69adbf086c560a4e3175a16b85a1662bbd (patch)
treec6234204dd685d90c7633801e9504506cb6946b9
parentd3c83b203372a00f846a3858711aae7ba290d570 (diff)
downloadintel-gpu-tools-48da0e69adbf086c560a4e3175a16b85a1662bbd.tar.gz
intel-gpu-tools-48da0e69adbf086c560a4e3175a16b85a1662bbd.tar.bz2
intel-gpu-tools-48da0e69adbf086c560a4e3175a16b85a1662bbd.zip
tests/kms_3d: skip if connectors cannot be forced
Signed-off-by: Thomas Wood <thomas.wood@intel.com>
-rw-r--r--tests/kms_3d.c3
1 files changed, 2 insertions, 1 deletions
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;