[PATCH 1/2] quartz/tests: Skip tests if CLSID_NullRenderer is not available.
Zebediah Figura
z.figura12 at gmail.com
Thu Nov 9 19:09:52 CST 2017
Signed-off-by: Zebediah Figura <z.figura12 at gmail.com>
---
dlls/quartz/tests/avisplitter.c | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/dlls/quartz/tests/avisplitter.c b/dlls/quartz/tests/avisplitter.c
index 29782a9..874036d 100644
--- a/dlls/quartz/tests/avisplitter.c
+++ b/dlls/quartz/tests/avisplitter.c
@@ -387,9 +387,12 @@ static void test_filter_graph(void)
hr = CoCreateInstance(&CLSID_NullRenderer, NULL,
CLSCTX_INPROC_SERVER, &IID_IBaseFilter, (LPVOID*)&pnull);
- ok(hr == S_OK, "Could not create null renderer: %08x\n", hr);
- if (hr != S_OK)
+ if (hr == REGDB_E_CLASSNOTREG)
+ {
+ win_skip("Null renderer not registered, skipping\n");
break;
+ }
+ ok(hr == S_OK, "Could not create null renderer: %08x\n", hr);
IBaseFilter_EnumPins(pnull, &nullenum);
IEnumPins_Next(nullenum, 1, &nullpin, NULL);
--
2.7.4
More information about the wine-patches
mailing list