Zhiyi Zhang : comctl32/tests: Fix occasional test failures on TestBot w7u_2qxl.

Alexandre Julliard julliard at winehq.org
Thu Feb 10 16:10:29 CST 2022


Module: wine
Branch: master
Commit: b13c4127a910b846975e13af5556718f95ef345a
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=b13c4127a910b846975e13af5556718f95ef345a

Author: Zhiyi Zhang <zzhang at codeweavers.com>
Date:   Thu Feb 10 14:55:38 2022 +0800

comctl32/tests: Fix occasional test failures on TestBot w7u_2qxl.

Signed-off-by: Zhiyi Zhang <zzhang at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/comctl32/tests/misc.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/dlls/comctl32/tests/misc.c b/dlls/comctl32/tests/misc.c
index dc9648c1bf0..5daca6aff93 100644
--- a/dlls/comctl32/tests/misc.c
+++ b/dlls/comctl32/tests/misc.c
@@ -531,7 +531,8 @@ static const struct message wm_themechanged_paint_erase_seq[] =
 {
     {WM_THEMECHANGED, sent | wparam | lparam},
     {WM_PAINT, sent | wparam | lparam},
-    {WM_ERASEBKGND, sent | defwinproc},
+    /* TestBot w7u_2qxl VM occasionally doesn't send WM_ERASEBKGND, hence the 'optional' */
+    {WM_ERASEBKGND, sent | defwinproc | optional},
     {0},
 };
 




More information about the wine-cvs mailing list