[igt-dev] [PATCH i-g-t 3/8] tests/kms_lease: use interactive debug helpers

Daniel Vetter daniel.vetter at ffwll.ch
Fri Nov 2 20:53:45 UTC 2018


Much faster, since when not enabled they proceed right away.

Signed-off-by: Daniel Vetter <daniel.vetter at ffwll.ch>
---
 tests/kms_lease.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/kms_lease.c b/tests/kms_lease.c
index 5b1b0524286e..048e5203d2a5 100644
--- a/tests/kms_lease.c
+++ b/tests/kms_lease.c
@@ -299,7 +299,7 @@ static void simple_lease(data_t *data)
 	/* Paint something attractive */
 	paint_fb(lease.fd, &lease.primary_fb, "simple_lease",
 		 lease.mode->name, igt_output_name(lease.output), kmstest_pipe_name(data->pipe));
-	sleep(3);
+	igt_debug_wait_for_keypress("lease");
 	cleanup_crtc(&lease,
 		     connector_id_to_output(&lease.display, data->connector_id));
 
-- 
2.14.4



More information about the igt-dev mailing list