summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorHeinrich Schuchardt <xypron.glpk@gmx.de>2018-02-08 21:47:12 +0100
committerAnatolij Gustschin <agust@denx.de>2018-03-06 10:05:49 +0100
commit9ffa4d12a850c6fb8b9b8f7d5fc31ac28633fcdb (patch)
tree2bd9678e22fd01e41edb945d1f7da5ae5fad026b /test
parent5c30fbb8ec4aa364d5e441c86d7b5776d6c94fb0 (diff)
downloadu-boot-9ffa4d12a850c6fb8b9b8f7d5fc31ac28633fcdb.tar.gz
dm: video: support increased intensity (bold)
Support special rendition code 0 - reset attributes. Support special rendition code 1 - increased intensity (bold). Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'test')
-rw-r--r--test/dm/video.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/dm/video.c b/test/dm/video.c
index d158f1fcb3..caca496902 100644
--- a/test/dm/video.c
+++ b/test/dm/video.c
@@ -186,7 +186,7 @@ static int dm_test_video_ansi(struct unit_test_state *uts)
/* test colors (30-37 fg color, 40-47 bg color) */
vidconsole_put_string(con, ANSI_ESC"[30;41mfoo"); /* black on red */
vidconsole_put_string(con, ANSI_ESC"[33;44mbar"); /* yellow on blue */
- ut_asserteq(267, compress_frame_buffer(dev));
+ ut_asserteq(265, compress_frame_buffer(dev));
return 0;
}