ddraw/tests: Mark GetDC() failures on VMware as broken.
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com> Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
9ac1523962
commit
9aeb3b98f8
|
@ -9071,7 +9071,7 @@ static void test_getdc(void)
|
|||
dc = (void *)0x1234;
|
||||
hr = IDirectDrawSurface_GetDC(surface, &dc);
|
||||
if (test_data[i].getdc_supported)
|
||||
ok(SUCCEEDED(hr) || (test_data[i].alt_result && hr == test_data[i].alt_result),
|
||||
ok(SUCCEEDED(hr) || broken(hr == test_data[i].alt_result || ddraw_is_vmware(ddraw)),
|
||||
"Got unexpected hr %#x for format %s.\n", hr, test_data[i].name);
|
||||
else
|
||||
ok(FAILED(hr), "Got unexpected hr %#x for format %s.\n", hr, test_data[i].name);
|
||||
|
|
|
@ -10205,7 +10205,7 @@ static void test_getdc(void)
|
|||
dc = (void *)0x1234;
|
||||
hr = IDirectDrawSurface_GetDC(surface, &dc);
|
||||
if (test_data[i].getdc_supported)
|
||||
ok(SUCCEEDED(hr) || (test_data[i].alt_result && hr == test_data[i].alt_result),
|
||||
ok(SUCCEEDED(hr) || broken(hr == test_data[i].alt_result || ddraw_is_vmware(ddraw)),
|
||||
"Got unexpected hr %#x for format %s.\n", hr, test_data[i].name);
|
||||
else
|
||||
ok(FAILED(hr), "Got unexpected hr %#x for format %s.\n", hr, test_data[i].name);
|
||||
|
|
|
@ -11767,7 +11767,7 @@ static void test_getdc(void)
|
|||
dc = (void *)0x1234;
|
||||
hr = IDirectDrawSurface4_GetDC(surface, &dc);
|
||||
if (test_data[i].getdc_supported)
|
||||
ok(SUCCEEDED(hr) || (test_data[i].alt_result && hr == test_data[i].alt_result),
|
||||
ok(SUCCEEDED(hr) || broken(hr == test_data[i].alt_result),
|
||||
"Got unexpected hr %#x for format %s.\n", hr, test_data[i].name);
|
||||
else
|
||||
ok(FAILED(hr), "Got unexpected hr %#x for format %s.\n", hr, test_data[i].name);
|
||||
|
|
|
@ -11718,7 +11718,7 @@ static void test_getdc(void)
|
|||
dc = (void *)0x1234;
|
||||
hr = IDirectDrawSurface7_GetDC(surface, &dc);
|
||||
if (test_data[i].getdc_supported)
|
||||
ok(SUCCEEDED(hr) || (test_data[i].alt_result && hr == test_data[i].alt_result),
|
||||
ok(SUCCEEDED(hr) || broken(hr == test_data[i].alt_result),
|
||||
"Got unexpected hr %#x for format %s.\n", hr, test_data[i].name);
|
||||
else
|
||||
ok(FAILED(hr), "Got unexpected hr %#x for format %s.\n", hr, test_data[i].name);
|
||||
|
|
Loading…
Reference in New Issue