Author: spetreolle
Date: Tue Mar 8 11:30:14 2011
New Revision: 51001
URL:
http://svn.reactos.org/svn/reactos?rev=51001&view=rev
Log:
[ROSTESTS]
Properly skip bitmap and outline tests in gdi32_winetest:font.
Modified:
trunk/rostests/winetests/gdi32/font.c
Modified: trunk/rostests/winetests/gdi32/font.c
URL:
http://svn.reactos.org/svn/reactos/trunk/rostests/winetests/gdi32/font.c?re…
==============================================================================
--- trunk/rostests/winetests/gdi32/font.c [iso-8859-1] (original)
+++ trunk/rostests/winetests/gdi32/font.c [iso-8859-1] Tue Mar 8 11:30:14 2011
@@ -313,9 +313,12 @@
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 */
@@ -409,6 +412,12 @@
MAT2 mat2 = { {0x8000,0}, {0,0}, {0,0}, {0x8000,0} };
POINT pt;
INT ret;
+
+ if(!winetest_interactive)
+ {
+ skip("reactos bug 5401: Skipping outline font tests!\n");
+ return;
+ }
if (!is_truetype_font_installed("Arial"))
{