[Intel-gfx] [PATCH i-g-t 3/5] tests/kms_force_connector: skip if the required connector is connected

Thomas Wood thomas.wood at intel.com
Mon Nov 2 09:25:31 PST 2015


Signed-off-by: Thomas Wood <thomas.wood at intel.com>
---
 tests/kms_force_connector.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tests/kms_force_connector.c b/tests/kms_force_connector.c
index f48b187..1e5ec6f 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") {
-- 
1.9.1



More information about the Intel-gfx mailing list