summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJosé Roberto de Souza <jose.souza@intel.com>2019-01-14 17:18:47 -0800
committerJosé Roberto de Souza <jose.souza@intel.com>2019-04-15 12:52:17 -0700
commitd6f3323b5af31e511031cf59e1179587a608d808 (patch)
tree9bc5c713b032782b8b59af7a9f2a4baf9701403c /tests
parent6c9a70f0ed51832a762e009c490a082f5d19e25d (diff)
tests/fbcon_fbt: Enable cursor blinking
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 <paulo.r.zanoni@intel.com> Cc: Dhinakaran Pandiyan <dhinakaran.pandiyan@intel.com> Cc: Rodrigo Vivi <rodrigo.vivi@intel.com> Cc: Chris Wilson <chris@chris-wilson.co.uk> Reviewed-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com> Signed-off-by: José Roberto de Souza <jose.souza@intel.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/kms_fbcon_fbt.c1
1 files changed, 1 insertions, 0 deletions
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)