[PATCH v4 1/2] quartz/tests: Fix failing avisplitter tests.
Zebediah Figura <[email protected]> Mon, 6 Nov 2017 21:17:11 -0600
| Newsgroups | gmane.comp.emulators.wine.patches |
|---|---|
| Message-ID | <[email protected]> |
Signed-off-by: Zebediah Figura <[email protected]> --- 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