[PATCH v3 1/2] quartz/tests: Fix failing avisplitter tests.

Zebediah Figura z.figura12 at gmail.com
Mon Nov 6 21:08:40 CST 2017


Signed-off-by: Zebediah Figura <z.figura12 at gmail.com>
---
The removed test was unreliable: the thread quits, but doesn't always quit in
time. Admittedly this whole function seems somewhat seedy to me, but I'll defer
judgement on it.

dlls/quartz/tests/avisplitter.c | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/dlls/quartz/tests/avisplitter.c b/dlls/quartz/tests/avisplitter.c
index 78ca8b8..32d30c9 100644
--- a/dlls/quartz/tests/avisplitter.c
+++ b/dlls/quartz/tests/avisplitter.c
@@ -495,6 +495,7 @@ static void test_threads(void)
     IBaseFilter_GetState(pavi, INFINITE, &state);
 
     curlevel = count_threads();
+    todo_wine
     ok(curlevel == expected,
         "The thread count should be %d not %d\n", expected, curlevel);
 
@@ -568,11 +569,6 @@ fail:
         IBaseFilter_Release(pavi);
     if (pfile)
         IFileSourceFilter_Release(pfile);
-
-    curlevel = count_threads();
-    todo_wine
-    ok(curlevel == baselevel,
-        "The thread count should be %d not %d\n", baselevel, curlevel);
 }
 
 START_TEST(avisplitter)
-- 
2.7.4




More information about the wine-patches mailing list