[PATCH 1/5] usp10/tests: Explicitly skip tests when required fonts are not available.

Aric Stewart aric at codeweavers.com
Mon Mar 20 07:08:20 CDT 2017


Signed-off-by: Aric Stewart <aric at codeweavers.com>

On 3/19/17 4:59 PM, Henri Verbeet wrote:
> Signed-off-by: Henri Verbeet <hverbeet at codeweavers.com>
> ---
>  dlls/usp10/tests/usp10.c | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/dlls/usp10/tests/usp10.c b/dlls/usp10/tests/usp10.c
> index e8a72cb..1b2ba6f 100644
> --- a/dlls/usp10/tests/usp10.c
> +++ b/dlls/usp10/tests/usp10.c
> @@ -1264,6 +1264,8 @@ static int _find_font_for_range(HDC hdc, const CHAR *recommended, BYTE range, co
>                  rc = 1;
>              }
>          }
> +        if (!rc)
> +            winetest_skip("Font %s is not available.\n", recommended);
>      }
>  
>      if (!*hfont)
> 



More information about the wine-patches mailing list