James Hawkins : oleaut32: Disable olefont tests that fail on all platforms.

Alexandre Julliard julliard at winehq.org
Thu May 29 06:52:53 CDT 2008


Module: wine
Branch: master
Commit: 4c928d39ad82e576113a34bfa4d27dd0b3eaba17
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=4c928d39ad82e576113a34bfa4d27dd0b3eaba17

Author: James Hawkins <jhawkins at codeweavers.com>
Date:   Wed May 28 19:15:15 2008 -0500

oleaut32: Disable olefont tests that fail on all platforms.

---

 dlls/oleaut32/tests/olefont.c |   15 +++++++++------
 1 files changed, 9 insertions(+), 6 deletions(-)

diff --git a/dlls/oleaut32/tests/olefont.c b/dlls/oleaut32/tests/olefont.c
index e350517..cbf85e1 100644
--- a/dlls/oleaut32/tests/olefont.c
+++ b/dlls/oleaut32/tests/olefont.c
@@ -812,13 +812,16 @@ START_TEST(olefont)
 
 	/* Test various size operations and conversions. */
 	/* Add more as needed. */
-	test_ifont_sizes(180000, 0, 72, 2540, -18, "default");
-	test_ifont_sizes(180000, 0, 144, 2540, -36, "ratio1");		/* change ratio */
-	test_ifont_sizes(180000, 0, 72, 1270, -36, "ratio2");		/* 2nd part of ratio */
+	if (0) /* FIXME: failing tests */
+	{
+	    test_ifont_sizes(180000, 0, 72, 2540, -18, "default");
+	    test_ifont_sizes(180000, 0, 144, 2540, -36, "ratio1");		/* change ratio */
+	    test_ifont_sizes(180000, 0, 72, 1270, -36, "ratio2");		/* 2nd part of ratio */
 
-	/* These depend on details of how IFont rounds sizes internally. */
-	test_ifont_sizes(0, 0, 72, 2540, 0, "zero size");          /* zero size */
-	test_ifont_sizes(186000, 0, 72, 2540, -19, "rounding");   /* test rounding */
+	    /* These depend on details of how IFont rounds sizes internally. */
+	    test_ifont_sizes(0, 0, 72, 2540, 0, "zero size");          /* zero size */
+	    test_ifont_sizes(186000, 0, 72, 2540, -19, "rounding");   /* test rounding */
+	}
 
 	test_font_events_disp();
 	test_GetIDsOfNames();




More information about the wine-cvs mailing list