[ROSTESTS]
authorSylvain Petreolle <spetreolle@yahoo.fr>
Tue, 8 Mar 2011 11:30:14 +0000 (11:30 +0000)
committerSylvain Petreolle <spetreolle@yahoo.fr>
Tue, 8 Mar 2011 11:30:14 +0000 (11:30 +0000)
Properly skip bitmap and outline tests in gdi32_winetest:font.

svn path=/trunk/; revision=51001

rostests/winetests/gdi32/font.c

index d865933..a584a40 100644 (file)
@@ -313,9 +313,12 @@ static void test_bitmap_font(void)
     SIZE size_orig;
     INT ret, i, width_orig, height_orig, scale, lfWidth;
 
     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 */
     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;
 
     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");
     if (!is_truetype_font_installed("Arial"))
     {
         skip("Arial is not installed\n");