public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] dm: video: fix test failures with enabled default TrueType font
@ 2018-12-29  0:09 Anatolij Gustschin
  2018-12-29  0:31 ` Simon Glass
  2019-01-03 18:12 ` Anatolij Gustschin
  0 siblings, 2 replies; 3+ messages in thread
From: Anatolij Gustschin @ 2018-12-29  0:09 UTC (permalink / raw)
  To: u-boot

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>
---
 test/dm/video.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/test/dm/video.c b/test/dm/video.c
index 5d1faac19c..6be5defc53 100644
--- a/test/dm/video.c
+++ b/test/dm/video.c
@@ -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;
 }
-- 
2.17.1

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [U-Boot] [PATCH] dm: video: fix test failures with enabled default TrueType font
  2018-12-29  0:09 [U-Boot] [PATCH] dm: video: fix test failures with enabled default TrueType font Anatolij Gustschin
@ 2018-12-29  0:31 ` Simon Glass
  2019-01-03 18:12 ` Anatolij Gustschin
  1 sibling, 0 replies; 3+ messages in thread
From: Simon Glass @ 2018-12-29  0:31 UTC (permalink / raw)
  To: u-boot

On Fri, 28 Dec 2018 at 17:09, Anatolij Gustschin <agust@denx.de> wrote:
>
> 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>
> ---
>  test/dm/video.c | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)

Reviewed-by: Simon Glass <sjg@chromium.org>

Thanks, I didn't even think of that as I thought it was a choice!
Perhaps I shold have used the existing default.

Regards,
Simon

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [U-Boot] [PATCH] dm: video: fix test failures with enabled default TrueType font
  2018-12-29  0:09 [U-Boot] [PATCH] dm: video: fix test failures with enabled default TrueType font Anatolij Gustschin
  2018-12-29  0:31 ` Simon Glass
@ 2019-01-03 18:12 ` Anatolij Gustschin
  1 sibling, 0 replies; 3+ messages in thread
From: Anatolij Gustschin @ 2019-01-03 18:12 UTC (permalink / raw)
  To: u-boot

On Sat, 29 Dec 2018 01:09:19 +0100
Anatolij Gustschin agust at denx.de wrote:

> 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>
> ---
>  test/dm/video.c | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)

Applied to u-boot-video/master, thanks!

--
Anatolij

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-01-03 18:12 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-12-29  0:09 [U-Boot] [PATCH] dm: video: fix test failures with enabled default TrueType font Anatolij Gustschin
2018-12-29  0:31 ` Simon Glass
2019-01-03 18:12 ` Anatolij Gustschin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox