[ROSTESTS]

Properly skip bitmap and outline tests in gdi32_winetest:font.

svn path=/trunk/; revision=51001
This commit is contained in:
Sylvain Petreolle 2011-03-08 11:30:14 +00:00
parent ccd17d40ec
commit b2832e17fc

View file

@ -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");