mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-01 09:50:52 +00:00
gdi32/tests: Use skip() for APIs which are stubs in some drivers.
This commit is contained in:
parent
2cb4fa04cf
commit
b97090214b
1 changed files with 4 additions and 2 deletions
|
@ -399,7 +399,8 @@ static void test_D3DKMTCheckVidPnExclusiveOwnership(void)
|
||||||
|
|
||||||
if (!pD3DKMTCheckVidPnExclusiveOwnership || pD3DKMTCheckVidPnExclusiveOwnership(NULL) == STATUS_PROCEDURE_NOT_FOUND)
|
if (!pD3DKMTCheckVidPnExclusiveOwnership || pD3DKMTCheckVidPnExclusiveOwnership(NULL) == STATUS_PROCEDURE_NOT_FOUND)
|
||||||
{
|
{
|
||||||
win_skip("D3DKMTCheckVidPnExclusiveOwnership() is unavailable.\n");
|
/* This is a stub in some drivers (e.g. nulldrv) */
|
||||||
|
skip("D3DKMTCheckVidPnExclusiveOwnership() is unavailable.\n");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -623,7 +624,8 @@ static void test_D3DKMTSetVidPnSourceOwner(void)
|
||||||
|
|
||||||
if (!pD3DKMTSetVidPnSourceOwner || pD3DKMTSetVidPnSourceOwner(&set_owner_desc) == STATUS_PROCEDURE_NOT_FOUND)
|
if (!pD3DKMTSetVidPnSourceOwner || pD3DKMTSetVidPnSourceOwner(&set_owner_desc) == STATUS_PROCEDURE_NOT_FOUND)
|
||||||
{
|
{
|
||||||
win_skip("D3DKMTSetVidPnSourceOwner() is unavailable.\n");
|
/* This is a stub in some drivers (e.g. nulldrv) */
|
||||||
|
skip("D3DKMTSetVidPnSourceOwner() is unavailable.\n");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue