mlang/tests: [Patch 2] Skip some tests on systems, that do not support CP_UTF8

Alexandre Julliard julliard at winehq.org
Tue Jun 9 05:09:52 CDT 2009


Detlef Riekenberg <wine.dev at web.de> writes:

> @@ -1164,6 +1165,14 @@ static void test_GetRfc1766Info(IMultiLanguage2 *iML2)
>          ok(!lstrcmpA(rfc1766A, info_table[i].rfc1766),
>              "#%02d: got '%s' (expected '%s')\n", i, rfc1766A, info_table[i].rfc1766);
>  
> +        if (!localenameA[0]) {
> +            /* old win95 systems do not support CP_UTF8 */
> +            if (!i)
> +                win_skip("CP_UTF8 not supported on this system\n");
> +
> +            continue;
> +        }

You should store the table in Unicode instead.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list