mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-17 12:41:32 +00:00
dm: video: fix test failures with enabled default TrueType font
With enabled default Nimbus font dm_test_video_truetype* tests fail. Update expected expressions to fix them. Signed-off-by: Anatolij Gustschin <agust@denx.de> Reviewed-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
815ed79d83
commit
daaba089f9
1 changed files with 3 additions and 3 deletions
|
@ -335,7 +335,7 @@ static int dm_test_video_truetype(struct unit_test_state *uts)
|
|||
ut_assertok(uclass_get_device(UCLASS_VIDEO, 0, &dev));
|
||||
ut_assertok(uclass_get_device(UCLASS_VIDEO_CONSOLE, 0, &con));
|
||||
vidconsole_put_string(con, test_string);
|
||||
ut_asserteq(12619, compress_frame_buffer(dev));
|
||||
ut_asserteq(12237, compress_frame_buffer(dev));
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
@ -356,7 +356,7 @@ static int dm_test_video_truetype_scroll(struct unit_test_state *uts)
|
|||
ut_assertok(uclass_get_device(UCLASS_VIDEO, 0, &dev));
|
||||
ut_assertok(uclass_get_device(UCLASS_VIDEO_CONSOLE, 0, &con));
|
||||
vidconsole_put_string(con, test_string);
|
||||
ut_asserteq(33849, compress_frame_buffer(dev));
|
||||
ut_asserteq(35030, compress_frame_buffer(dev));
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
@ -377,7 +377,7 @@ static int dm_test_video_truetype_bs(struct unit_test_state *uts)
|
|||
ut_assertok(uclass_get_device(UCLASS_VIDEO, 0, &dev));
|
||||
ut_assertok(uclass_get_device(UCLASS_VIDEO_CONSOLE, 0, &con));
|
||||
vidconsole_put_string(con, test_string);
|
||||
ut_asserteq(34871, compress_frame_buffer(dev));
|
||||
ut_asserteq(29018, compress_frame_buffer(dev));
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue