Module: wine Branch: master Commit: 74271fc4cf13b87ad4af9c2bf643633a3637bc97 URL: http://source.winehq.org/git/wine.git/?a=commit;h=74271fc4cf13b87ad4af9c2bf6...
Author: Alexandre Julliard julliard@winehq.org Date: Thu Mar 5 23:05:13 2009 +0100
comctl32/tests: Disable a test that crashes on NT4.
---
dlls/comctl32/tests/tooltips.c | 13 ++++++++----- 1 files changed, 8 insertions(+), 5 deletions(-)
diff --git a/dlls/comctl32/tests/tooltips.c b/dlls/comctl32/tests/tooltips.c index 4c708a0..2b4f43f 100644 --- a/dlls/comctl32/tests/tooltips.c +++ b/dlls/comctl32/tests/tooltips.c @@ -291,11 +291,14 @@ static void test_gettext(void) r = SendMessageW(hwnd, TTM_ADDTOOL, 0, (LPARAM)&toolinfoW); ok(r, "Adding the tool to the tooltip failed\n");
- toolinfoW.hwnd = NULL; - toolinfoW.uId = 0x1234ABCD; - toolinfoW.lpszText = bufW; - SendMessageW(hwnd, TTM_GETTEXTW, 0, (LPARAM)&toolinfoW); - ok(toolinfoW.lpszText[0] == 0, "lpszText should be an empty string\n"); + if (0) /* crashes on NT4 */ + { + toolinfoW.hwnd = NULL; + toolinfoW.uId = 0x1234ABCD; + toolinfoW.lpszText = bufW; + SendMessageW(hwnd, TTM_GETTEXTW, 0, (LPARAM)&toolinfoW); + ok(toolinfoW.lpszText[0] == 0, "lpszText should be an empty string\n"); + }
DestroyWindow(hwnd); }