Author: tkreuzer Date: Sun May 17 10:55:03 2015 New Revision: 67806
URL: http://svn.reactos.org/svn/reactos?rev=67806&view=rev Log: [DINPUT_WINETEST] Skip randomly failing tests. See ROSTESTS-176 and CORE-9710
Modified: trunk/rostests/winetests/dinput/mouse.c
Modified: trunk/rostests/winetests/dinput/mouse.c URL: http://svn.reactos.org/svn/reactos/trunk/rostests/winetests/dinput/mouse.c?r... ============================================================================== --- trunk/rostests/winetests/dinput/mouse.c [iso-8859-1] (original) +++ trunk/rostests/winetests/dinput/mouse.c [iso-8859-1] Sun May 17 10:55:03 2015 @@ -147,6 +147,10 @@ hr = IDirectInputDevice_Acquire(pMouse); ok(hr == S_OK, "Acquire() failed: %08x\n", hr);
+if (!winetest_interactive) + skip("ROSTESTS-176/CORE-9710: Skipping randomly failing tests\n"); +else { + mouse_event(MOUSEEVENTF_MOVE, 10, 10, 0, 0); cnt = 1; hr = IDirectInputDevice_GetDeviceData(pMouse, sizeof(mouse_state), &mouse_state, &cnt, 0); @@ -176,7 +180,7 @@ cnt = 1; hr = IDirectInputDevice_GetDeviceData(pMouse, sizeof(mouse_state), &mouse_state, &cnt, 0); ok(hr == DI_OK && cnt == 1, "GetDeviceData() failed: %08x cnt:%d\n", hr, cnt); - +} if (pMouse) IUnknown_Release(pMouse);
DestroyWindow( hwnd2 );