[PATCH 0/1] MR4100: user32/tests: Reduce size demand in test_hvredraw.
Bug 53017 causes test failures here because it leaves the display at 720x400 resolution. Since this already causes a test failure earlier, and having a very small resolution isn't technically "broken", I figure it makes sense to adjust the test to account for this situation. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/4100
From: Esme Povirk <esme(a)codeweavers.com> --- dlls/user32/tests/msg.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/dlls/user32/tests/msg.c b/dlls/user32/tests/msg.c index ae0e6f3de56..07df7d5cb86 100644 --- a/dlls/user32/tests/msg.c +++ b/dlls/user32/tests/msg.c @@ -9598,19 +9598,19 @@ static void subtest_hvredraw(HWND hparent, UINT class_style, DWORD style) static const struct movesize_test { int dx, dy, dw, dh; } movesize_tests[] = { - { 0, 0, 0, 50 }, - { 0, 0, 50, 0 }, - { 0, 0, 50, 50 }, - { 0, 0, -50, -50 }, - { -50, -50, 0, 50 }, - { -50, -50, 50, 0 }, - { -50, -50, 50, 50 }, + { 0, 0, 0, 5 }, + { 0, 0, 5, 0 }, + { 0, 0, 5, 5 }, + { 0, 0, -5, -5 }, + { -5, -5, 0, 5 }, + { -5, -5, 5, 0 }, + { -5, -5, 5, 5 }, }; HRGN hrgn_old_vis = CreateRectRgn( 0, 0, 0, 0 ); HRGN hrgn_new_vis = CreateRectRgn( 0, 0, 0, 0 ); HRGN hrgn_expect = CreateRectRgn( 0, 0, 0, 0 ); HRGN hrgn_actual = CreateRectRgn( 0, 0, 0, 0 ); - const int x0 = 100, y0 = 100, w0 = 200, h0 = 200; + const int x0 = 100, y0 = 100, w0 = 150, h0 = 150; size_t i; HWND hwnd; WNDCLASSA cls = { -- GitLab https://gitlab.winehq.org/wine/wine/-/merge_requests/4100
CI failure is bug 55786. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/4100#note_48730
participants (2)
-
Esme Povirk -
Esme Povirk (@madewokherd)