Properly skip bitmap and outline tests in gdi32_winetest:font.
svn path=/trunk/; revision=51001
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 */
+ 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");