Henri Verbeet : usp10/tests: Explicitly skip tests when required fonts are not available.
Alexandre Julliard
julliard at winehq.org
Mon Mar 20 17:16:46 CDT 2017
Module: wine
Branch: master
Commit: 6e2161670d36e03753bf1211d9875b9456e3b8ee
URL: http://source.winehq.org/git/wine.git/?a=commit;h=6e2161670d36e03753bf1211d9875b9456e3b8ee
Author: Henri Verbeet <hverbeet at codeweavers.com>
Date: Sun Mar 19 22:59:43 2017 +0100
usp10/tests: Explicitly skip tests when required fonts are not available.
Signed-off-by: Henri Verbeet <hverbeet at codeweavers.com>
Signed-off-by: Aric Stewart <aric at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
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-cvs
mailing list