Commit 982a5b9f authored by Zebediah Figura's avatar Zebediah Figura Committed by Alexandre Julliard

dinput/tests: Do not test that reports are identical when polling.

This is dependent on timing, and currently fails occasionally both on Windows and Wine. Signed-off-by: 's avatarZebediah Figura <zfigura@codeweavers.com> Signed-off-by: 's avatarRémi Bernon <rbernon@codeweavers.com> Signed-off-by: 's avatarAlexandre Julliard <julliard@winehq.org>
parent 9aa1d0a1
......@@ -2343,12 +2343,11 @@ static void test_hidp( HANDLE file, HANDLE async_file, int report_id, BOOL polle
ok( ret, "GetOverlappedResult failed, last error %lu\n", GetLastError() );
ok( value == (report_id ? 3 : 4), "GetOverlappedResult returned length %lu, expected %u\n",
value, (report_id ? 3 : 4) );
/* first report should be ready and the same */
/* first report should be ready */
ret = GetOverlappedResult( async_file, &overlapped, &value, FALSE );
ok( ret, "GetOverlappedResult failed, last error %lu\n", GetLastError() );
ok( value == (report_id ? 3 : 4), "GetOverlappedResult returned length %lu, expected %u\n",
value, (report_id ? 3 : 4) );
ok( !memcmp( report, buffer, caps.InputReportByteLength ), "expected identical reports\n" );
send_hid_input( file, expect_small, sizeof(expect_small) );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment