Paul Vriens : gdi32/tests: Use skip where appropriate.
Module: wine Branch: master Commit: a105c6b1de0d21c94332bbaf5c0005a08524ff57 URL: http://source.winehq.org/git/wine.git/?a=commit;h=a105c6b1de0d21c94332bbaf5c... Author: Paul Vriens <paul.vriens.wine(a)gmail.com> Date: Mon Mar 5 17:29:12 2007 +0100 gdi32/tests: Use skip where appropriate. --- dlls/gdi32/tests/font.c | 11 ++++++++--- 1 files changed, 8 insertions(+), 3 deletions(-) diff --git a/dlls/gdi32/tests/font.c b/dlls/gdi32/tests/font.c index 44586bc..ce8d2fa 100644 --- a/dlls/gdi32/tests/font.c +++ b/dlls/gdi32/tests/font.c @@ -386,7 +386,12 @@ static void test_GdiGetCharDimensions(void) SIZE size; LONG avgwidth, height; static const char szAlphabet[] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz"; - if (!pGdiGetCharDimensions) return; + + if (!pGdiGetCharDimensions) + { + skip("GetFontUnicodeRanges not available on this platform\n"); + return; + } hdc = CreateCompatibleDC(NULL); @@ -506,13 +511,13 @@ static void test_GetGlyphIndices() TEXTMETRIC textm; if (!pGetGlyphIndicesW) { - trace("GetGlyphIndices not available on platform\n"); + skip("GetGlyphIndices not available on platform\n"); return; } if(!is_font_installed("Symbol")) { - trace("Symbol is not installed so skipping this test\n"); + skip("Symbol is not installed so skipping this test\n"); return; }
participants (1)
-
Alexandre Julliard