Commit d2ee7aa7 authored by Austin English's avatar Austin English Committed by Alexandre Julliard

winspool.drv: Skip tests when no printer is installed.

parent 574a21cc
...@@ -1924,6 +1924,11 @@ static void test_SetDefaultPrinter(void) ...@@ -1924,6 +1924,11 @@ static void test_SetDefaultPrinter(void)
CHAR buffer[DEFAULT_PRINTER_SIZE]; CHAR buffer[DEFAULT_PRINTER_SIZE];
CHAR org_value[DEFAULT_PRINTER_SIZE]; CHAR org_value[DEFAULT_PRINTER_SIZE];
if (!default_printer)
{
skip("There is no default printer installed\n");
return;
}
if (!pSetDefaultPrinterA) return; if (!pSetDefaultPrinterA) return;
/* only supported on win2k and above */ /* only supported on win2k and above */
......
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