[PATCH 1/5] usp10/tests: Explicitly skip tests when required fonts are not available.
Henri Verbeet
hverbeet at codeweavers.com
Sun Mar 19 16:59:43 CDT 2017
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)
--
2.1.4
More information about the wine-patches
mailing list