From: Sylvain Petreolle Date: Tue, 8 Mar 2011 11:30:14 +0000 (+0000) Subject: [ROSTESTS] X-Git-Tag: ReactOS-0.3.13~42 X-Git-Url: https://git.reactos.org/?p=reactos.git;a=commitdiff_plain;h=b2832e17fc4f63c939efa47ff4aac7785bc63ac1 [ROSTESTS] Properly skip bitmap and outline tests in gdi32_winetest:font. svn path=/trunk/; revision=51001 --- diff --git a/rostests/winetests/gdi32/font.c b/rostests/winetests/gdi32/font.c index d8659332511..a584a403521 100644 --- a/rostests/winetests/gdi32/font.c +++ b/rostests/winetests/gdi32/font.c @@ -313,9 +313,12 @@ static void test_bitmap_font(void) SIZE size_orig; INT ret, i, width_orig, height_orig, scale, lfWidth; - skip("ROS-HACK: Skipping bitmap font tests!\n"); - return; - + if(!winetest_interactive) + { + skip("reactos bug 5401: Skipping bitmap font tests!\n"); + return; + } + hdc = GetDC(0); /* "System" has only 1 pixel size defined, otherwise the test breaks */ @@ -410,6 +413,12 @@ static void test_outline_font(void) POINT pt; INT ret; + if(!winetest_interactive) + { + skip("reactos bug 5401: Skipping outline font tests!\n"); + return; + } + if (!is_truetype_font_installed("Arial")) { skip("Arial is not installed\n");