Alexandre Julliard : comctl32/tests: Disable a test that crashes on NT4.

Alexandre Julliard julliard at winehq.org
Fri Mar 6 09:49:33 CST 2009


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

Author: Alexandre Julliard <julliard at 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);
 }




More information about the wine-cvs mailing list