summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Wood <thomas.wood@intel.com>2015-11-02 15:50:27 +0000
committerThomas Wood <thomas.wood@intel.com>2015-11-11 14:21:12 +0000
commit01e1fca5828004954cdb1757409edd99d4b790c3 (patch)
treee57166081b7b264fab8f69cf4d10d7a1aba757b9
parent2e5a43d29613fcb9e780b9c804d86b578bc8d56b (diff)
tests/kms_force_connector: skip if the required connector is connected
Signed-off-by: Thomas Wood <thomas.wood@intel.com>
-rw-r--r--tests/kms_force_connector.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/kms_force_connector.c b/tests/kms_force_connector.c
index cb8a1796..40e56136 100644
--- a/tests/kms_force_connector.c
+++ b/tests/kms_force_connector.c
@@ -56,6 +56,7 @@ igt_main
}
igt_require(vga_connector);
+ igt_skip_on(vga_connector->connection == DRM_MODE_CONNECTED);
}
igt_subtest("force-connector-state") {