oleaut32/tests: Skip a test that may crash on Win64.
This commit is contained in:
parent
f901f63bc6
commit
4c184a8b88
|
@ -5249,8 +5249,11 @@ static void test_SysAllocStringByteLen(void)
|
||||||
const CHAR szTestA[6] = { 'T','e','s','t','\0','?' };
|
const CHAR szTestA[6] = { 'T','e','s','t','\0','?' };
|
||||||
BSTR str;
|
BSTR str;
|
||||||
|
|
||||||
|
if (sizeof(void *) == 4) /* not limited to 0x80000000 on Win64 */
|
||||||
|
{
|
||||||
str = SysAllocStringByteLen(szTestA, 0x80000000);
|
str = SysAllocStringByteLen(szTestA, 0x80000000);
|
||||||
ok (str == NULL, "Expected NULL, got %p\n", str);
|
ok (str == NULL, "Expected NULL, got %p\n", str);
|
||||||
|
}
|
||||||
|
|
||||||
str = SysAllocStringByteLen(szTestA, 0xffffffff);
|
str = SysAllocStringByteLen(szTestA, 0xffffffff);
|
||||||
ok (str == NULL, "Expected NULL, got %p\n", str);
|
ok (str == NULL, "Expected NULL, got %p\n", str);
|
||||||
|
|
Loading…
Reference in New Issue