[ROSTESTS]
authorAmine Khaldi <amine.khaldi@reactos.org>
Sat, 26 Feb 2011 14:27:09 +0000 (14:27 +0000)
committerAmine Khaldi <amine.khaldi@reactos.org>
Sat, 26 Feb 2011 14:27:09 +0000 (14:27 +0000)
- Skip test_apm to prevent the oleaut_winetest:olepicture crash.
See issue #5000 for more details.

svn path=/trunk/; revision=50911

rostests/winetests/oleaut32/olepicture.c

index f00055e..af0fe57 100644 (file)
@@ -517,6 +517,11 @@ static void test_apm(void)
     BOOL keep;
     short type;
 
     BOOL keep;
     short type;
 
+    if(!winetest_interactive) {
+        skip("Bug 5000: oleaut_winetest:olepicture crashes with Page Fault.\n");
+        return;
+    }
+
     hglob = GlobalAlloc (0, sizeof(apmdata));
     data = GlobalLock(hglob);
     memcpy(data, apmdata, sizeof(apmdata));
     hglob = GlobalAlloc (0, sizeof(apmdata));
     data = GlobalLock(hglob);
     memcpy(data, apmdata, sizeof(apmdata));