Make running tests on a visible desktop a mandatory requirement

Dmitry Timoshkov dmitry at baikal.ru
Tue Mar 8 10:03:01 CST 2005


Hello,

it appears that new test for a visible desktop works fine, time to make
running tests on a visible desktop a mandatory requirement.

Changelog:
    Dmitry Timoshkov <dmitry at codeweavers.com>
    Make running tests on a visible desktop a mandatory requirement.

--- cvs/hq/wine/programs/winetest/main.c	Mon Mar 07 14:49:54 2005
+++ wine/programs/winetest/main.c	Tue Mar 08 15:59:02 2005
@@ -547,6 +547,11 @@ int WINAPI WinMain (HINSTANCE hInst, HIN
     const char *cp, *submit = NULL, *tag = NULL;
     int reset_env = 1;
 
+    if (!running_on_visible_desktop ()) {
+        report (R_ERROR, "Tests must be run on a visible desktop");
+        exit (2);
+    }
+
     /* initialize the revision information first */
     extract_rev_infos();
 






More information about the wine-patches mailing list