comdlg32/tests: Vista can return a failure from StartDoc when using the XPS driver - don't fail the test in this case.
This commit is contained in:
parent
169f440cb7
commit
466b50cf7d
|
@ -335,7 +335,11 @@ static void test_abort_proc(void)
|
|||
doc_info.lpszOutput = filename;
|
||||
|
||||
job_id = StartDocA(print_dc, &doc_info);
|
||||
ok(job_id > 0, "StartDocA failed ret %d gle %d\n", job_id, GetLastError());
|
||||
|
||||
ok(job_id > 0 ||
|
||||
GetLastError() == ERROR_SPL_NO_STARTDOC, /* Vista can fail with this error when using the XPS driver */
|
||||
"StartDocA failed ret %d gle %d\n", job_id, GetLastError());
|
||||
|
||||
if(job_id <= 0)
|
||||
{
|
||||
skip("StartDoc failed\n");
|
||||
|
|
Loading…
Reference in New Issue