Wine-Bug: https://bugs.winehq.org//show_bug.cgi?id=53525
--
v2: dinput/tests: Wait for each device interface to start / stop.
dinput/tests: Add a device count parameter to hid_device_(start|stop).
dinput/tests: Use semaphores to count and notify rawinput messages.
dinput/tests: Avoid using INFINITE timeouts.
dinput/tests: Remove old physical joystick tests.
dinput/tests: Unregister rawinput devices after tests.
hidclass.sys: Make sure a desktop is created for the driver process.
https://gitlab.winehq.org/wine/wine/-/merge_requests/1842
This was previously automatically done when user32 was loaded, but since
the move of __wine_send_input to win32u, we do not need to load it any
more. Somehow it is still loaded when prefix is initialized or updated,
and the dinput tests work in some cases, but not in some other.
This makes sure we have a desktop or WM_INPUT messages won't be sent by
wineserver.
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/1841
On Mon Dec 19 11:04:02 2022 +0000, Ziqing Hui wrote:
> Testbot complains about too much printing. Should I remove some tests?
> For example, test only one input type for SetOutputType tests.
I'd suggest to shorten the test messages, like for instance `SetOutputType returned unexpected hr 0x80004001 for flag 0.` shorten to `0x0: SetOutputType returned 0x80004001.` with wine_push_context for the flags, or as an even more extreme measure, if necessary, `0x0: got hr 0x80004001.`.
If that's not enough then yes, you can probably think about removing some tests.
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/1839#note_19835