Jinoh Kang : user32/tests: Print regions in test_swp_paint_regions failure cases.
Module: wine Branch: master Commit: 46f1931e562bb44b340c600439682e41b3e03336 URL: https://gitlab.winehq.org/wine/wine/-/commit/46f1931e562bb44b340c600439682e4... Author: Jinoh Kang <jinoh.kang.kr(a)gmail.com> Date: Sat Jun 8 14:09:02 2024 +0900 user32/tests: Print regions in test_swp_paint_regions failure cases. --- dlls/user32/tests/msg.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dlls/user32/tests/msg.c b/dlls/user32/tests/msg.c index 5e69e196e80..60067b7ab02 100644 --- a/dlls/user32/tests/msg.c +++ b/dlls/user32/tests/msg.c @@ -9356,7 +9356,7 @@ static void subtest_swp_paint_regions_( int line, int wrap_toplevel, LPCSTR pare ok( !!rgn_ok, "Parent update region shall match expected region\n" ); } - if (!rgn_ok && winetest_debug > 1) + if (!rgn_ok) { trace( "Expected parent update region: " ); dump_region( hrgn_expect ); @@ -9417,7 +9417,7 @@ static void subtest_swp_paint_regions_( int line, int wrap_toplevel, LPCSTR pare ok( !!rgn_ok, "Child update region shall match expected region\n" ); } - if (!rgn_ok && winetest_debug > 1) + if (!rgn_ok) { trace( "Expected child update region: " ); dump_region( hrgn_expect_child );
participants (1)
-
Alexandre Julliard