comdlg32/tests: Disable test which crashes on Win10.

Signed-off-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
André Hentschel 2015-10-16 13:40:43 +02:00 committed by Alexandre Julliard
parent a754579159
commit 03bf3cac66
1 changed files with 10 additions and 8 deletions

View File

@ -379,14 +379,16 @@ static void test_PrintDlgExW(void)
return;
}
/* Set CommDlgExtendedError != 0 */
PrintDlgA(NULL);
SetLastError(0xdeadbeef);
res = pPrintDlgExW(NULL);
ok( (res == E_INVALIDARG),
"got 0x%x with %u and %u (expected 'E_INVALIDARG')\n",
res, GetLastError(), CommDlgExtendedError());
if (0) /* Crashes on Win10 */
{
/* Set CommDlgExtendedError != 0 */
PrintDlgA(NULL);
SetLastError(0xdeadbeef);
res = pPrintDlgExW(NULL);
ok( (res == E_INVALIDARG),
"got 0x%x with %u and %u (expected 'E_INVALIDARG')\n",
res, GetLastError(), CommDlgExtendedError() );
}
pDlg = HeapAlloc(GetProcessHeap(), 0, (sizeof(PRINTDLGEXW)) + 8);
if (!pDlg) return;