From 4c184a8b880e0ee3c8ddf4f5cbe19518bdd115e0 Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Thu, 8 Oct 2009 22:45:40 +0200 Subject: [PATCH] oleaut32/tests: Skip a test that may crash on Win64. --- dlls/oleaut32/tests/vartype.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/dlls/oleaut32/tests/vartype.c b/dlls/oleaut32/tests/vartype.c index 03210130dcd..65a6a4b39da 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);