[PATCH 07/12] user32/tests: Ignore WM_WININICHANGE message in test sequences.

Rémi Bernon rbernon at codeweavers.com
Tue Nov 12 14:42:00 CST 2019


Tests sometimes fail because of an unexpected 0x001a message.

   https://testbot.winehq.org/JobDetails.pl?Key=59886#k106

Signed-off-by: Rémi Bernon <rbernon at codeweavers.com>
---
 dlls/user32/tests/msg.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/dlls/user32/tests/msg.c b/dlls/user32/tests/msg.c
index f548ffbb584..53482d2cf29 100644
--- a/dlls/user32/tests/msg.c
+++ b/dlls/user32/tests/msg.c
@@ -2085,7 +2085,8 @@ static BOOL ignore_message( UINT message )
             message == WM_TIMECHANGE ||
             message == WM_DISPLAYCHANGE ||
             message == WM_DEVICECHANGE ||
-            message == WM_DWMNCRENDERINGCHANGED);
+            message == WM_DWMNCRENDERINGCHANGED ||
+            message == WM_WININICHANGE);
 }
 
 static unsigned hash_Ly_W(const WCHAR *str)
-- 
2.24.0.rc2




More information about the wine-devel mailing list