From d6f3323b5af31e511031cf59e1179587a608d808 Mon Sep 17 00:00:00 2001 From: José Roberto de Souza Date: Mon, 14 Jan 2019 17:18:47 -0800 Subject: tests/fbcon_fbt: Enable cursor blinking MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit If cursor blinking is disabled no screen updates will happen and fbcon_fbt subtests will fail, so lets enable cursor blink while running this test and restore to the previous value when exiting it. v4: - renaming restore fd (Dhinakaran) - saving previous value as char (Dhinakaran) - skipping test if not able to open cursor blink file (Dhinakaran) Cc: Paulo Zanoni Cc: Dhinakaran Pandiyan Cc: Rodrigo Vivi Cc: Chris Wilson Reviewed-by: Maarten Lankhorst Signed-off-by: José Roberto de Souza --- tests/kms_fbcon_fbt.c | 1 + 1 file changed, 1 insertion(+) (limited to 'tests') diff --git a/tests/kms_fbcon_fbt.c b/tests/kms_fbcon_fbt.c index e36835ab..89b02540 100644 --- a/tests/kms_fbcon_fbt.c +++ b/tests/kms_fbcon_fbt.c @@ -286,6 +286,7 @@ static void setup_environment(void) * fbcon bind, so to test it is necessary enable it again */ bind_fbcon(true); + fbcon_blink_enable(true); } static void teardown_environment(void) -- cgit v1.2.3