[PATCH] quartz/tests: Skip test_render_run() if test file doesn't exist.

Andrew Eikum aeikum at codeweavers.com
Wed Jan 4 07:54:21 CST 2017


On Wed, Jan 04, 2017 at 10:52:28AM +0800, Jactry Zeng wrote:
> +    h = CreateFileW(file, 0, 0, NULL, OPEN_EXISTING, 0, NULL);
> +    if (h == INVALID_HANDLE_VALUE) {
> +        skip("Could not read test file \"%s\", skipping test\n", wine_dbgstr_w(file));
> +        return;
> +    }
> +    CloseHandle(h);
> +

I like this, but please remove the quote characters:

  filtergraph.c:359: Tests skipped: Could not read test file "L"test.avi"", skipping test

Andrew



More information about the wine-devel mailing list