quartz/tests: Disable some tests that fail intermittently.
The value of these tests is not worth having to repeatedly relax timings. Signed-off-by: Zebediah Figura <z.figura12@gmail.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
e417befc15
commit
1f201f1165
|
@ -3152,6 +3152,7 @@ static void test_filter_state(void)
|
|||
hr = IMediaControl_Run(control);
|
||||
ok(hr == S_OK, "Got hr %#x.\n", hr);
|
||||
check_filter_state(graph, State_Running);
|
||||
if (winetest_interactive) /* Timing problems make this test too liable to fail. */
|
||||
ok(source.start_time >= start_time && source.start_time < start_time + 500 * 10000,
|
||||
"Expected time near %s, got %s.\n",
|
||||
wine_dbgstr_longlong(start_time), wine_dbgstr_longlong(source.start_time));
|
||||
|
@ -3228,6 +3229,7 @@ static void test_filter_state(void)
|
|||
hr = IMediaFilter_Run(filter, 0);
|
||||
ok(hr == S_OK, "Got hr %#x.\n", hr);
|
||||
check_filter_state(graph, State_Running);
|
||||
if (winetest_interactive) /* Timing problems make this test too liable to fail. */
|
||||
ok(source.start_time >= start_time && source.start_time < start_time + 500 * 10000,
|
||||
"Expected time near %s, got %s.\n",
|
||||
wine_dbgstr_longlong(start_time), wine_dbgstr_longlong(source.start_time));
|
||||
|
@ -3242,6 +3244,7 @@ static void test_filter_state(void)
|
|||
hr = IMediaFilter_Run(filter, 0);
|
||||
ok(hr == S_OK, "Got hr %#x.\n", hr);
|
||||
check_filter_state(graph, State_Running);
|
||||
if (winetest_interactive) /* Timing problems make this test too liable to fail. */
|
||||
ok(source.start_time >= start_time && source.start_time < start_time + 500 * 10000,
|
||||
"Expected time near %s, got %s.\n",
|
||||
wine_dbgstr_longlong(start_time), wine_dbgstr_longlong(source.start_time));
|
||||
|
@ -3257,6 +3260,7 @@ static void test_filter_state(void)
|
|||
hr = IMediaFilter_Run(filter, 0);
|
||||
ok(hr == S_OK, "Got hr %#x.\n", hr);
|
||||
check_filter_state(graph, State_Running);
|
||||
if (winetest_interactive) /* Timing problems make this test too liable to fail. */
|
||||
ok(source.start_time >= start_time && source.start_time < start_time + 500 * 10000,
|
||||
"Expected time near %s, got %s.\n",
|
||||
wine_dbgstr_longlong(start_time), wine_dbgstr_longlong(source.start_time));
|
||||
|
@ -3996,11 +4000,13 @@ static void test_graph_seeking(void)
|
|||
|
||||
hr = IMediaSeeking_GetCurrentPosition(seeking, &time);
|
||||
ok(hr == S_OK, "Got hr %#x.\n", hr);
|
||||
if (winetest_interactive) /* Timing problems make this test too liable to fail. */
|
||||
ok(abs(time - 1234 * 10000) < 40 * 10000,
|
||||
"Expected about 1234ms, got %s.\n", wine_dbgstr_longlong(time));
|
||||
current = stop = 0xdeadbeef;
|
||||
hr = IMediaSeeking_GetPositions(seeking, ¤t, &stop);
|
||||
ok(hr == S_OK, "Got hr %#x.\n", hr);
|
||||
if (winetest_interactive) /* Timing problems make this test too liable to fail. */
|
||||
ok(abs(current - 1234 * 10000) < 40 * 10000,
|
||||
"Expected about 1234ms, got %s.\n", wine_dbgstr_longlong(current));
|
||||
ok(stop == 9000 * 10000, "Got time %s.\n", wine_dbgstr_longlong(stop));
|
||||
|
@ -4017,11 +4023,13 @@ static void test_graph_seeking(void)
|
|||
|
||||
hr = IMediaSeeking_GetCurrentPosition(seeking, &time);
|
||||
ok(hr == S_OK, "Got hr %#x.\n", hr);
|
||||
if (winetest_interactive) /* Timing problems make this test too liable to fail. */
|
||||
ok(abs(time - 1334 * 10000) < 80 * 10000,
|
||||
"Expected about 1334ms, got %s.\n", wine_dbgstr_longlong(time));
|
||||
current = stop = 0xdeadbeef;
|
||||
hr = IMediaSeeking_GetPositions(seeking, ¤t, &stop);
|
||||
ok(hr == S_OK, "Got hr %#x.\n", hr);
|
||||
if (winetest_interactive) /* Timing problems make this test too liable to fail. */
|
||||
ok(abs(current - 1334 * 10000) < 80 * 10000,
|
||||
"Expected about 1334ms, got %s.\n", wine_dbgstr_longlong(current));
|
||||
ok(stop == 8000 * 10000, "Got time %s.\n", wine_dbgstr_longlong(stop));
|
||||
|
@ -4035,11 +4043,13 @@ static void test_graph_seeking(void)
|
|||
|
||||
hr = IMediaSeeking_GetCurrentPosition(seeking, &time);
|
||||
ok(hr == S_OK, "Got hr %#x.\n", hr);
|
||||
if (winetest_interactive) /* Timing problems make this test too liable to fail. */
|
||||
ok(abs(time - 1334 * 10000) < 80 * 10000,
|
||||
"Expected about 1334ms, got %s.\n", wine_dbgstr_longlong(time));
|
||||
current = stop = 0xdeadbeef;
|
||||
hr = IMediaSeeking_GetPositions(seeking, ¤t, &stop);
|
||||
ok(hr == S_OK, "Got hr %#x.\n", hr);
|
||||
if (winetest_interactive) /* Timing problems make this test too liable to fail. */
|
||||
ok(abs(current - 1334 * 10000) < 80 * 10000,
|
||||
"Expected about 1334ms, got %s.\n", wine_dbgstr_longlong(current));
|
||||
ok(stop == 8000 * 10000, "Got time %s.\n", wine_dbgstr_longlong(stop));
|
||||
|
|
Loading…
Reference in New Issue