Commit 466b50cf authored by Huw Davies's avatar Huw Davies Committed by Alexandre Julliard

comdlg32/tests: Vista can return a failure from StartDoc when using the XPS…

comdlg32/tests: Vista can return a failure from StartDoc when using the XPS driver - don't fail the test in this case.
parent 169f440c
......@@ -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");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment