Alexandre Julliard : user32/tests: Comment out a test that crashes on 64-bit Vista.
Alexandre Julliard
julliard at winehq.org
Wed Sep 14 10:28:51 CDT 2016
Module: wine
Branch: master
Commit: 30179166d2e517b4083b9eb3ccd9dea79fc8e24f
URL: http://source.winehq.org/git/wine.git/?a=commit;h=30179166d2e517b4083b9eb3ccd9dea79fc8e24f
Author: Alexandre Julliard <julliard at winehq.org>
Date: Wed Sep 14 14:19:33 2016 +0900
user32/tests: Comment out a test that crashes on 64-bit Vista.
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/user32/tests/clipboard.c | 12 +++++++-----
1 file changed, 7 insertions(+), 5 deletions(-)
diff --git a/dlls/user32/tests/clipboard.c b/dlls/user32/tests/clipboard.c
index 2b030ca..ff5b6fb 100644
--- a/dlls/user32/tests/clipboard.c
+++ b/dlls/user32/tests/clipboard.c
@@ -1667,11 +1667,13 @@ static void test_handles( HWND hwnd )
todo_wine ok( !h, "got %p\n", h );
GlobalFree( empty_moveable );
- ptr = HeapAlloc( GetProcessHeap(), 0, 0 );
- h = SetClipboardData( format_id2, ptr );
- /* some platforms don't allocate a 0-size block correctly */
- todo_wine ok( !h || broken( HeapSize( GetProcessHeap(), 0, ptr ) == 1), "got %p\n", h );
- HeapFree( GetProcessHeap(), 0, ptr );
+ if (0) /* crashes on vista64 */
+ {
+ ptr = HeapAlloc( GetProcessHeap(), 0, 0 );
+ h = SetClipboardData( format_id2, ptr );
+ ok( !h, "got %p\n", h );
+ HeapFree( GetProcessHeap(), 0, ptr );
+ }
h = SetClipboardData( format_id2, empty_fixed );
ok( h == empty_fixed, "got %p\n", h );
More information about the wine-cvs
mailing list