Message ID | 20241215104508.191237-14-geert@linux-m68k.org |
---|---|
State | New |
Headers | show |
Series | Export feature and large ellipses support | expand |
diff --git a/include/fb.h b/include/fb.h index 1df4e48311b6c1e9..6506ec120aa962ae 100644 --- a/include/fb.h +++ b/include/fb.h @@ -28,6 +28,7 @@ extern int fb_set_cmap(void); extern int fb_pan(u32 xoffset, u32 yoffset); extern void fb_map(void); extern void fb_unmap(void); +extern void fb_clear(void); /* diff --git a/tests.c b/tests.c index b1573032372e8090..22a8a0f489c2bc06 100644 --- a/tests.c +++ b/tests.c @@ -78,6 +78,8 @@ static void run_one_test(const struct test *test) } } + fb_clear(); + res = test->func(); switch (res) { case TEST_OK:
Make sure the frame buffer is cleared before each test, to avoid leftover artifacts from a previous test. Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org> --- include/fb.h | 1 + tests.c | 2 ++ 2 files changed, 3 insertions(+)