[Intel-gfx] [PATCH i-g-t 2/2] tests/kms_force_connect: skip if a VGA connector is not available

Thomas Wood thomas.wood at intel.com
Thu Oct 9 17:50:53 CEST 2014


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

diff --git a/tests/kms_force_connector.c b/tests/kms_force_connector.c
index 96881c7..361bf84 100644
--- a/tests/kms_force_connector.c
+++ b/tests/kms_force_connector.c
@@ -54,7 +54,7 @@ main (int argc, char **argv)
 		connector = NULL;
 	}
 
-	igt_assert(connector);
+	igt_require(connector);
 
 	/* force the connector on and check the reported values */
 	kmstest_force_connector(drm_fd, connector, FORCE_CONNECTOR_ON);
-- 
2.1.0




More information about the Intel-gfx mailing list