Alexandre Julliard : oleaut32/tests: Skip a test that may crash on Win64.
Alexandre Julliard
julliard at winehq.org
Fri Oct 9 09:24:10 CDT 2009
Module: wine
Branch: master
Commit: 4c184a8b880e0ee3c8ddf4f5cbe19518bdd115e0
URL: http://source.winehq.org/git/wine.git/?a=commit;h=4c184a8b880e0ee3c8ddf4f5cbe19518bdd115e0
Author: Alexandre Julliard <julliard at winehq.org>
Date: Thu Oct 8 22:45:40 2009 +0200
oleaut32/tests: Skip a test that may crash on Win64.
---
dlls/oleaut32/tests/vartype.c | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/dlls/oleaut32/tests/vartype.c b/dlls/oleaut32/tests/vartype.c
index 0321013..65a6a4b 100644
--- a/dlls/oleaut32/tests/vartype.c
+++ b/dlls/oleaut32/tests/vartype.c
@@ -5249,8 +5249,11 @@ static void test_SysAllocStringByteLen(void)
const CHAR szTestA[6] = { 'T','e','s','t','\0','?' };
BSTR str;
- str = SysAllocStringByteLen(szTestA, 0x80000000);
- ok (str == NULL, "Expected NULL, got %p\n", str);
+ if (sizeof(void *) == 4) /* not limited to 0x80000000 on Win64 */
+ {
+ str = SysAllocStringByteLen(szTestA, 0x80000000);
+ ok (str == NULL, "Expected NULL, got %p\n", str);
+ }
str = SysAllocStringByteLen(szTestA, 0xffffffff);
ok (str == NULL, "Expected NULL, got %p\n", str);
More information about the wine-cvs
mailing list