Fix one bogus test in setupapi:devclass
authorSylvain Petreolle <spetreolle@yahoo.fr>
Sat, 23 May 2009 12:59:46 +0000 (12:59 +0000)
committerSylvain Petreolle <spetreolle@yahoo.fr>
Sat, 23 May 2009 12:59:46 +0000 (12:59 +0000)
Ignore only bitmap font tests in gdi32:font

svn path=/trunk/; revision=41073

rostests/winetests/gdi32/font.c
rostests/winetests/setupapi/devclass.c

index c48e549..b92a229 100644 (file)
@@ -308,6 +308,9 @@ 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;
+
     hdc = GetDC(0);
 
     /* "System" has only 1 pixel size defined, otherwise the test breaks */
@@ -2916,8 +2919,6 @@ START_TEST(font)
     init();
 
     test_logfont();
-    skip("ROS-HACK: Skipping bitmap font tests\n");
-    return;
     test_bitmap_font();
     test_outline_font();
     test_bitmap_font_metrics();
index 2f20f1a..f95944a 100644 (file)
@@ -119,7 +119,6 @@ static void test_SetupDiClassGuidsFromNameA(void)
     SetLastError( 0xdeadbeef );
     ok( !SetupDiClassGuidsFromNameA( test_class_name, NULL, 0, &required_size ),
         "Fail expected\n" );
-    SetLastError( 0xdeadbeef );
     ok( GetLastError() == ERROR_INSUFFICIENT_BUFFER,
         "Expected error %lx, got %lx\n", ERROR_INSUFFICIENT_BUFFER, GetLastError() );
     ok( required_size > 0, "Expected > 0, got %lu\n", required_size );