Rémi Bernon : dinput/tests: Remove racy controller removed handler check.

Alexandre Julliard julliard at winehq.org
Tue May 3 15:39:25 CDT 2022


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

Author: Rémi Bernon <rbernon at codeweavers.com>
Date:   Tue May  3 10:29:04 2022 +0200

dinput/tests: Remove racy controller removed handler check.

It now consistently fails on w1064_tsign, and it's called concurrently
with the handler invocation.

Signed-off-by: Rémi Bernon <rbernon at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/dinput/tests/hotplug.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/dlls/dinput/tests/hotplug.c b/dlls/dinput/tests/hotplug.c
index 97e9e69fa9f..e68a6914684 100644
--- a/dlls/dinput/tests/hotplug.c
+++ b/dlls/dinput/tests/hotplug.c
@@ -923,7 +923,6 @@ static LRESULT CALLBACK windows_gaming_input_wndproc( HWND hwnd, UINT msg, WPARA
         {
             ok( wparam == DBT_DEVICEREMOVECOMPLETE, "got wparam %#Ix\n", wparam );
             ok( controller_added.invoked, "controller added handler not invoked\n" );
-            ok( controller_removed.invoked, "controller removed handler not invoked\n" );
         }
         else
         {




More information about the wine-cvs mailing list