[tests] disable winspool tests if we don't have a default printer

Dimitrie O. Paun dpaun at rogers.com
Fri Jun 4 00:46:45 CDT 2004


ChangeLog
    Some of our testers don't have a default printer, simply skip
    the winspool tests if that's the case.


Index: dlls/winspool/tests/info.c
===================================================================
RCS file: /var/cvs/wine/dlls/winspool/tests/info.c,v
retrieving revision 1.5
diff -u -r1.5 info.c
--- dlls/winspool/tests/info.c	7 Mar 2004 03:46:54 -0000	1.5
+++ dlls/winspool/tests/info.c	4 Jun 2004 05:44:29 -0000
@@ -48,7 +48,7 @@
 
     retval = func( buffer, &exact);
     if (ERROR_FILE_NOT_FOUND == GetLastError()) {
-	ok( 0, "this test requires a default printer to be set\n");
+	trace("this test requires a default printer to be set\n");
 	return;
     }
     if (!retval || !exact || !strlen(buffer)) {




More information about the wine-patches mailing list