mirror of
https://github.com/reactos/wine.git
synced 2024-11-25 04:39:45 +00:00
dxdiagn/tests: Fix some test failures on a clean W2K3.
This commit is contained in:
parent
ff4047a956
commit
16d161bc95
@ -32,7 +32,9 @@ static void test_Initialize(void)
|
||||
|
||||
hr = CoCreateInstance(&CLSID_DxDiagProvider, NULL, CLSCTX_INPROC_SERVER,
|
||||
&IID_IDxDiagProvider, (LPVOID*)&pddp);
|
||||
ok(hr == S_OK, "Creating a IDxDiagProvider instance failed with %x\n", hr);
|
||||
ok(hr == S_OK ||
|
||||
broken(hr == REGDB_E_CLASSNOTREG), /* Clean W2K3 */
|
||||
"Creating a IDxDiagProvider instance failed with %x\n", hr);
|
||||
if (FAILED(hr))
|
||||
{
|
||||
skip("Failed to create a IDxDiagProvider instance\n");
|
||||
@ -97,7 +99,9 @@ static void test_GetRootContainer(void)
|
||||
|
||||
hr = CoCreateInstance(&CLSID_DxDiagProvider, NULL, CLSCTX_INPROC_SERVER,
|
||||
&IID_IDxDiagProvider, (LPVOID*)&pddp);
|
||||
ok(hr == S_OK, "Creating a IDxDiagProvider instance failed with %x\n", hr);
|
||||
ok(hr == S_OK ||
|
||||
broken(hr == REGDB_E_CLASSNOTREG), /* Clean W2K3 */
|
||||
"Creating a IDxDiagProvider instance failed with %x\n", hr);
|
||||
if (FAILED(hr))
|
||||
{
|
||||
skip("Failed to create a IDxDiagProvider instance\n");
|
||||
|
Loading…
Reference in New Issue
Block a user